Added ltr specification for file paths

This commit is contained in:
Hadi Charara 2022-07-05 19:45:09 -04:00
parent 611f90b564
commit 186ef937a5

View file

@ -121,10 +121,10 @@ import template from './mediaLibraryCreator.template.html';
let html = '';
html += '<div class="listItem listItem-border lnkPath" style="padding-left:.5em;">';
html += `<div class="${pathInfo.NetworkPath ? 'listItemBody two-line' : 'listItemBody'}">`;
html += `<div class="listItemBodyText">${escapeHtml(pathInfo.Path)}</div>`;
html += `<div class="listItemBodyText" dir="ltr">${escapeHtml(pathInfo.Path)}</div>`;
if (pathInfo.NetworkPath) {
html += `<div class="listItemBodyText secondary">${escapeHtml(pathInfo.NetworkPath)}</div>`;
html += `<div class="listItemBodyText secondary" dir="ltr">${escapeHtml(pathInfo.NetworkPath)}</div>`;
}
html += '</div>';