fix: appendHighlightedText non importé dans sidebar.js → erreur filtre sidebar
All checks were successful
CI / lint (push) Successful in 14s
CI / security (push) Successful in 8s
CI / test (push) Successful in 15s
CI / build (push) Successful in 2s

This commit is contained in:
Bruno Charest 2026-05-29 14:52:14 -04:00
parent 7c288460c3
commit 3c93cebdf1
2 changed files with 2 additions and 2 deletions

View File

@ -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';
// ---------------------------------------------------------------------------

View File

@ -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));