From bdc451fb8eebecf9fd5edddb1cd449246b375718 Mon Sep 17 00:00:00 2001 From: Dicken Date: Fri, 10 Jul 2026 20:49:05 +0200 Subject: [PATCH] feat: HA-Entitaeten fuer Push-Erinnerungen und Kanban; neues Feature Sidebar-Sichtbarkeit pro Nutzer V2 --- frontend/src/toolRegistry.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/toolRegistry.js b/frontend/src/toolRegistry.js index 12bfff1..42d0b10 100644 --- a/frontend/src/toolRegistry.js +++ b/frontend/src/toolRegistry.js @@ -157,10 +157,11 @@ export const TOOLS = [ // Neues Tool: { id:'...', Icon:..., label:'...', navLabel:'...', group:'...', component:... }, ]; -export function getGroupedTools(isAdmin = false) { +export function getGroupedTools(isAdmin = false, hiddenTools = []) { const groups = {}; for (const t of TOOLS) { if (t.adminOnly && !isAdmin) continue; + if (hiddenTools.includes(t.id)) continue; const g = t.group || 'Allgemein'; if (!groups[g]) groups[g] = []; groups[g].push(t);