style: aggiunta possibilità di nascondere il contatore dei ticket e note

This commit is contained in:
Gabriele Cimaschi committed 2026-09-07 18:11:16 +02:00
1 parent f21be0abcb
commit 9ae0cec0ca
3 files changed
+81 -15

No files matched your search

+2 -11
View File
@@ -481,17 +481,8 @@ const DashboardView = {
});
}
// Update open ticket count in sidebar badge
const badge = document.getElementById('open-ticket-count');
if (badge) {
badge.textContent = stats.total_open > 0 ? stats.total_open : '';
}
// Update my ticket count in sidebar badge
const myBadge = document.getElementById('my-ticket-count');
if (myBadge) {
myBadge.textContent = stats.total_my_open > 0 ? stats.total_my_open : '';
}
// Update sidebar counts using centralized method
App.updateSidebarBadges();
} catch (err) {
container.innerHTML = `