diff --git a/src/Web/autopilot-monitor-web/components/GlobalSidebar.tsx b/src/Web/autopilot-monitor-web/components/GlobalSidebar.tsx index 5d15814f..681c335c 100644 --- a/src/Web/autopilot-monitor-web/components/GlobalSidebar.tsx +++ b/src/Web/autopilot-monitor-web/components/GlobalSidebar.tsx @@ -322,7 +322,7 @@ export function GlobalSidebar({ children }: { children: ReactNode }) {
  • setMobileDrawerOpen(false)} className={`${base} px-3 py-1.5`}> {renderIcon(item.icon, "w-4 h-4")} - {item.label} + {item.label}
  • ); @@ -367,7 +367,7 @@ export function GlobalSidebar({ children }: { children: ReactNode }) {
  • setMobileDrawerOpen(false)} className={`${base} px-3 py-1.5`}> {renderIcon(item.icon, "w-4 h-4")} - {item.label} + {item.label}
  • ); @@ -377,7 +377,7 @@ export function GlobalSidebar({ children }: { children: ReactNode }) {
  • ); @@ -396,12 +396,18 @@ export function GlobalSidebar({ children }: { children: ReactNode }) { {isAuthenticated && ( <> {/* Dashboard — hidden for regular users (no admin/operator access) */} - {!isRegularUser && renderGlobalItem(DASHBOARD_ITEM)} + {!isRegularUser && ( + + )} {/* Regular user: only show Progress Portal */} {isRegularUser && (
    - {REGULAR_USER_ITEMS.map((item) => renderGlobalItem(item))} +
    )} @@ -508,7 +514,7 @@ export function GlobalSidebar({ children }: { children: ReactNode }) { }`} > {expandItem.icon} - {expandItem.label} + {expandItem.label} - {renderGlobalItem({ id: "home", label: "Home", href: "/", icon: DASHBOARD_ITEM.icon })} +