diff --git a/src/modules/management/components/DataPanel.jsx b/src/modules/management/components/DataPanel.jsx index 629106d..004ecf9 100644 --- a/src/modules/management/components/DataPanel.jsx +++ b/src/modules/management/components/DataPanel.jsx @@ -1,4 +1,4 @@ -export function DataPanel({ title, description, actionLabel, children }) { +export function DataPanel({ title, description, actionLabel, onAction, children }) { return (
{navItems.map((item, index) => { - const isActive = index === 0; + if (item.type === 'separator') { + return ( +
+ ); + } + + const isActive = activeNavItem ? item.id === activeNavItem : index === 0; return (