From 58120baf64cc37e45e36696dbdf77a8a989e7e1f Mon Sep 17 00:00:00 2001 From: moe-berri Date: Wed, 4 Nov 2026 16:26:10 +0800 Subject: [PATCH] style(ui): simplify workspace menu rows --- .../src/components/Navbar/ViewSwitcher.tsx | 33 +++++++------------ 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/ui/litellm-dashboard/src/components/Navbar/ViewSwitcher.tsx b/ui/litellm-dashboard/src/components/Navbar/ViewSwitcher.tsx index 8469a8edc35..b7ca47494ec 100644 --- a/ui/litellm-dashboard/src/components/Navbar/ViewSwitcher.tsx +++ b/ui/litellm-dashboard/src/components/Navbar/ViewSwitcher.tsx @@ -119,17 +119,14 @@ export default function ViewSwitcher({ className, contentClassName }: ViewSwitch disabled: !chatEnabled, label: (
- - - - Chat{" "} - Chat UI for using LLMs, MCPs, Agents{" "} - {!chatEnabled && ( - - Admins can enable in Settings - - )} - + + Chat{" "} + Chat UI for using LLMs, MCPs, Agents{" "} + {!chatEnabled && ( + + Admins can enable in Settings + + )} {isChatRoute && }
@@ -142,10 +139,7 @@ export default function ViewSwitcher({ className, contentClassName }: ViewSwitch key: e.key, label: (
- - - {e.label} - + {e.label} {!isStandaloneRoute && e.key === mode && }
), @@ -156,12 +150,9 @@ export default function ViewSwitcher({ className, contentClassName }: ViewSwitch key: MOYAI, label: (
- - - - Moyai{" "} - Cloud Coding Agent - + + Moyai{" "} + Cloud Coding Agent {isMoyaiRoute && }