fix: advancedSearchOffset → state.advancedSearchOffset + openFile dans dashboard.js
All checks were successful
CI / lint (push) Successful in 13s
CI / security (push) Successful in 8s
CI / test (push) Successful in 16s
CI / build (push) Successful in 22s

This commit is contained in:
Bruno Charest 2026-05-29 15:57:50 -04:00
parent c0851d9860
commit 3ad484001a
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
import { api } from './auth.js';
import { state } from './state.js';
import { escapeHtml, safeCreateIcons, getFileIcon } from './utils.js';
import { icon } from './viewer.js';
import { icon, openFile } from './viewer.js';
import { TabManager, showToast } from './ui.js';
// ---------------------------------------------------------------------------

View File

@ -1026,7 +1026,7 @@ async function loadSavedSearches() {
const vault = s.vault || "all";
if (input) { input.dispatchEvent(new Event("input")); }
clearTimeout(state.searchTimeout);
advancedSearchOffset = 0;
state.advancedSearchOffset = 0;
performAdvancedSearch(s.query, vault, null);
});
});