Upload via GUI (23 Dateien)
This commit is contained in:
@@ -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))); }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user