From 3c93cebdf1bd3696204e71a5dcea67d5a5b22a99 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Fri, 29 May 2026 14:52:14 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20appendHighlightedText=20non=20import?= =?UTF-8?q?=C3=A9=20dans=20sidebar.js=20=E2=86=92=20erreur=20filtre=20side?= =?UTF-8?q?bar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/js/sidebar.js | 2 +- frontend/js/viewer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/js/sidebar.js b/frontend/js/sidebar.js index 739a411..b4fe8ad 100644 --- a/frontend/js/sidebar.js +++ b/frontend/js/sidebar.js @@ -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'; // --------------------------------------------------------------------------- diff --git a/frontend/js/viewer.js b/frontend/js/viewer.js index 0c37405..d40f037 100644 --- a/frontend/js/viewer.js +++ b/frontend/js/viewer.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));