fix: repair broken import blocks in sync.js and legacy.js
This commit is contained in:
+1
-17
@@ -3,23 +3,7 @@
|
|||||||
Functions already in other modules are re-exported. */
|
Functions already in other modules are re-exported. */
|
||||||
|
|
||||||
// --- State imports ---
|
// --- State imports ---
|
||||||
import {
|
import { state } from './state.js';
|
||||||
state.currentVault,
|
|
||||||
state.currentPath,
|
|
||||||
state.showingSource,
|
|
||||||
state.cachedRawSource,
|
|
||||||
state.searchTimeout,
|
|
||||||
state.searchCaseSensitive,
|
|
||||||
state.searchWholeWord,
|
|
||||||
state.searchRegex,
|
|
||||||
state.searchFilterVisible,
|
|
||||||
state.advancedSearchOffset,
|
|
||||||
state.selectedTags,
|
|
||||||
state.selectedContextVault,
|
|
||||||
state.vaultSettings,
|
|
||||||
state.allVaults,
|
|
||||||
state.MIN_SEARCH_LENGTH,
|
|
||||||
} from './state.js';
|
|
||||||
|
|
||||||
// --- Search imports ---
|
// --- Search imports ---
|
||||||
import {
|
import {
|
||||||
|
|||||||
+1
-6
@@ -1,10 +1,5 @@
|
|||||||
1|/* ObsiGate — Sync: SSE client + PWA registration */
|
1|/* ObsiGate — Sync: SSE client + PWA registration */
|
||||||
import {
|
import { state } from './state.js';
|
||||||
state.currentVault,
|
|
||||||
state.currentPath,
|
|
||||||
state.activeSidebarTab,
|
|
||||||
selectedContextVault
|
|
||||||
} from './state.js';
|
|
||||||
import { showToast } from './ui.js';
|
import { showToast } from './ui.js';
|
||||||
import { loadVaults, loadTags, refreshTagsForContext } from './sidebar.js';
|
import { loadVaults, loadTags, refreshTagsForContext } from './sidebar.js';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user