From 4748a7568732358922469bd7f4a33d1ec932fc9f Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Fri, 29 May 2026 11:39:31 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20initDashboardTabs=20non=20export=C3=A9?= =?UTF-8?q?=20de=20sync.js=20=E2=86=92=20import=C3=A9=20dans=20viewer.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/js/sync.js | 2 +- frontend/js/viewer.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/js/sync.js b/frontend/js/sync.js index 9f743f1..33ac33d 100644 --- a/frontend/js/sync.js +++ b/frontend/js/sync.js @@ -426,7 +426,7 @@ function initDashboardTabs() { // --------------------------------------------------------------------------- // Init — called by app.js orchestrator // --------------------------------------------------------------------------- -export { initSyncStatus }; +export { initSyncStatus, initDashboardTabs }; export function init() { registerServiceWorker(); initDashboardTabs(); diff --git a/frontend/js/viewer.js b/frontend/js/viewer.js index 15a6ca0..38d9a5f 100644 --- a/frontend/js/viewer.js +++ b/frontend/js/viewer.js @@ -5,6 +5,7 @@ import { escapeHtml, safeCreateIcons, safeHighlight, getFileIcon } from './utils import { TabManager, closeMobileSidebar, ContextMenuManager, RightSidebarManager, showToast } from './ui.js'; import { syncActiveFileTreeItem } from './sidebar.js'; import { AutocompleteDropdown } from './search.js'; +import { initDashboardTabs } from './sync.js'; // --------------------------------------------------------------------------- // Outline/TOC Manager // ---------------------------------------------------------------------------