fix: appendHighlightedText non importé dans sidebar.js → erreur filtre sidebar
This commit is contained in:
parent
7c288460c3
commit
3c93cebdf1
@ -3,7 +3,7 @@ import { safeCreateIcons, getFileIcon } from './utils.js';
|
||||
import { api } from './auth.js';
|
||||
import { populateCustomDropdown, TabManager, closeMobileSidebar, ContextMenuManager } from './ui.js';
|
||||
import { _populateRecentVaultFilter, switchSidebarTab } from './config.js';
|
||||
import { el, icon, getVaultIcon, smallBadge, attachTreeItemActionButton, attachTreeItemLongPress, showWelcome } from './viewer.js';
|
||||
import { el, icon, getVaultIcon, smallBadge, attachTreeItemActionButton, attachTreeItemLongPress, showWelcome, appendHighlightedText } from './viewer.js';
|
||||
import { performAdvancedSearch } from './search.js';
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@ -790,7 +790,7 @@ function makeBreadcrumbSpan(text, onClick) {
|
||||
return s;
|
||||
}
|
||||
|
||||
function appendHighlightedText(container, text, query, caseSensitive) {
|
||||
export function appendHighlightedText(container, text, query, caseSensitive) {
|
||||
container.textContent = "";
|
||||
if (!query) {
|
||||
container.appendChild(document.createTextNode(text));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user