adds version to web ui
Some checks failed
Build / build (push) Has been cancelled
Build / release (push) Has been cancelled
Build / test (push) Has been cancelled

This commit is contained in:
2026-03-28 01:44:09 -04:00
parent 7b22b2abf2
commit 9576b847bd
3 changed files with 9 additions and 0 deletions

View File

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