From 76d2bffb4f8bb78f1e50092f59fa017feb17b637 Mon Sep 17 00:00:00 2001 From: josh Date: Sat, 28 Mar 2026 20:14:53 -0400 Subject: [PATCH] fix: initialize jobs nav dot on every page load Previously the dot only updated when visiting the Jobs page. Now a jobs fetch runs at bootstrap so the dot reflects status immediately on any page, including after a hard refresh. Co-Authored-By: Claude Sonnet 4.6 --- js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/app.js b/js/app.js index e389242..23a9a3c 100644 --- a/js/app.js +++ b/js/app.js @@ -53,4 +53,6 @@ if (VERSION) { document.getElementById('nav-version').textContent = label; } +fetch('/api/jobs').then(r => r.json()).then(_updateJobsNavDot).catch(() => {}); + handleRoute(); -- 2.39.5