fix: import manquant openFile dans sync.js (ReferenceError)
CI / lint (push) Failing after 4s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / security (push) Successful in 8s

sync.js appelait openFile() après un index update SSE mais la fonction
n'était pas importée depuis viewer.js. Ajout de l'import manquant.
This commit is contained in:
2026-06-04 07:36:52 -04:00
parent 8819d04cf2
commit 6700b78004
+1
View File
@@ -3,6 +3,7 @@ import { state } from './state.js';
import { showToast } from './ui.js';
import { loadVaults, loadTags, refreshTagsForContext, refreshSidebarTreePreservingState } from './sidebar.js';
import { loadRecentFiles } from './config.js';
import { openFile } from './viewer.js';
// ---------------------------------------------------------------------------
// SSE Client — IndexUpdateManager