Upload via GUI (23 Dateien)

This commit is contained in:
2026-11-04 07:55:00 +00:00
parent 44d3b7308d
commit 8b64172140
7 changed files with 465 additions and 283 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ async function navigate(view, p = {}) {
const nav = h('nav', { class: 'nav', 'aria-label': 'Hauptmenü' }, TABS.map(([key, label, ic]) => h('button', { class: key === activeTab ? 'on' : '', onclick: () => ctx.go(key), 'aria-label': label }, icon(ic, 20), label)));
app.replaceChildren(header, content, nav);
chrome.runtime.sendMessage({ type: 'reset-badge' }).catch(() => {});
chrome.runtime.sendMessage({ type: 'poll-now' }).catch(() => {}); // Zähler aktualisieren (zum Beispiel nach dem Öffnen eines Tickets)
try { await VIEWS[view]?.(body, ctx, p); } catch (e) { body.replaceChildren(h('div', { class: 'msg err', role: 'alert' }, errText(e))); }
}