diff --git a/server/src/wled_controller/static/js/features/tabs.ts b/server/src/wled_controller/static/js/features/tabs.ts index 2aeea4a..887017d 100644 --- a/server/src/wled_controller/static/js/features/tabs.ts +++ b/server/src/wled_controller/static/js/features/tabs.ts @@ -104,17 +104,8 @@ export function updateSubTabHash(tab: string, subTab: string): void { _setHash(tab, subTab); } -/** Update the count badge on a main tab button. Hidden when count is 0. */ -export function updateTabBadge(tabName: string, count: number): void { - const badge = document.getElementById(`tab-badge-${tabName}`); - if (!badge) return; - if (count > 0) { - badge.textContent = String(count); - badge.style.display = ''; - } else { - badge.style.display = 'none'; - } -} +/** Update the count badge on a main tab button. Disabled — badges removed from tab headers. */ +export function updateTabBadge(_tabName: string, _count: number): void {} export function startAutoRefresh(): void { if (refreshInterval) { diff --git a/server/src/wled_controller/templates/index.html b/server/src/wled_controller/templates/index.html index 620d4de..9f935b8 100644 --- a/server/src/wled_controller/templates/index.html +++ b/server/src/wled_controller/templates/index.html @@ -44,8 +44,8 @@