fixes version not showing up in web ui
All checks were successful
Build / test (push) Successful in 9m28s
Build / release (push) Successful in 1s
Build / build (push) Successful in 18s

This commit is contained in:
2026-03-28 02:08:58 -04:00
parent aeb5fa4fb7
commit d7d4bbc099
6 changed files with 12 additions and 6 deletions

View File

@@ -37,10 +37,7 @@ window.addEventListener('popstate', e => {
// ── Bootstrap ─────────────────────────────────────────────────────────────────
fetch('/package.json')
.then(r => r.json())
.then(pkg => { document.getElementById('nav-version').textContent = `v${pkg.version}`; })
.catch(() => {});
if (VERSION) document.getElementById('nav-version').textContent = `v${VERSION}`;
initDB().then(() => {
renderDashboard();