fix: search.js — ReferenceError el + _getEffective non importes
All checks were successful
CI / lint (push) Successful in 12s
CI / security (push) Successful in 8s
CI / test (push) Successful in 15s
CI / build (push) Successful in 2s

This commit is contained in:
Bruno Charest 2026-05-29 08:57:58 -04:00
parent 8662d4ce17
commit be65edb1a6
2 changed files with 3 additions and 2 deletions

View File

@ -367,7 +367,7 @@ function applyFrontendConfig() {
} }
} }
function _getEffective(key, fallback) { export function _getEffective(key, fallback) {
const cfg = _getFrontendConfig(); const cfg = _getFrontendConfig();
return cfg[key] !== undefined ? cfg[key] : fallback; return cfg[key] !== undefined ? cfg[key] : fallback;
} }

View File

@ -1,7 +1,8 @@
/* ObsiGate — Search module */ /* ObsiGate — Search module */
import { state } from './state.js'; import { state } from './state.js';
import { safeCreateIcons } from './utils.js'; import { safeCreateIcons } from './utils.js';
import { showLoading } from './viewer.js'; import { showLoading, el } from './viewer.js';
import { _getEffective } from './config.js';
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// Search History Service (localStorage, LIFO, max 50, dedup) // Search History Service (localStorage, LIFO, max 50, dedup)
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------