refactor admin navigation; update links to ingest pages and improve loading of data in parallel

This commit is contained in:
ImBenji
2026-04-24 00:08:52 +01:00
parent 16cd61fdf5
commit fc7ea464b3
17 changed files with 292 additions and 67 deletions
+4 -3
View File
@@ -586,7 +586,8 @@ document.addEventListener("DOMContentLoaded", async () => {
applyGraphFilters();
});
const ok = await loadIntelStatsRow();
if (!ok) return;
loadIntelGraph();
// both calls are independent — run them concurrently. the graph
// endpoint returns empty nodes/edges when intelligence db is missing
// so we dont need to gate on the stats check.
Promise.all([loadIntelStatsRow(), loadIntelGraph()]);
});