-
{t(section.labelKey)}
+
+
+
{t(section.labelKey)}
+
- {section.items.map((item) => (
- -
-
- isActive ? 'sidebar-menu-item active' : ''
- }
- end
+ {section.items.map((item) => {
+ const isActive = location.pathname === item.path
+ || location.pathname.startsWith(item.path + '/')
+ return (
+
-
- {item.icon}
- {t(item.labelKey)}
-
-
- ))}
+
+ {item.icon}
+ {t(item.labelKey)}
+
+
+ )
+ })}
))}
v{VERSION}
-
+
)
}
diff --git a/management-ui/src/styles/enterprise.css b/management-ui/src/styles/enterprise.css
index 64ce237..596ba9a 100644
--- a/management-ui/src/styles/enterprise.css
+++ b/management-ui/src/styles/enterprise.css
@@ -136,10 +136,7 @@ h1, h2, h3, h4, h5, h6 {
gap: 10px;
padding: 8px 10px;
font-size: 14px;
- /* CSS-Variable --nmg-sidebar-text wird vom Sidebar-Komponente
- gesetzt wenn das Branding eine eigene Textfarbe hat. Fallback:
- #94A3B8 (Light-Slate, ursprünglicher Hardcode). */
- color: var(--nmg-sidebar-text, #94A3B8);
+ color: #94A3B8;
text-decoration: none;
border-radius: 6px;
transition: all 0.15s ease;