From 33144ea3d630127edba22ae00e9f675ebb793a3a Mon Sep 17 00:00:00 2001 From: marko-kraemer Date: Wed, 16 Apr 2025 23:10:32 +0100 Subject: [PATCH] still broken --- .../dashboard/sidebar/nav-agents.tsx | 42 +++++++++++++------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/dashboard/sidebar/nav-agents.tsx b/frontend/src/components/dashboard/sidebar/nav-agents.tsx index 0f9ba74b..283f25bb 100644 --- a/frontend/src/components/dashboard/sidebar/nav-agents.tsx +++ b/frontend/src/components/dashboard/sidebar/nav-agents.tsx @@ -166,21 +166,39 @@ export function NavAgents() {
Agents - - - - - New Agent - - - New Agent - + {state !== "collapsed" ? ( + + + + + New Agent + + + New Agent + + ) : null}
+ {state === "collapsed" && ( + + + + + + + New Agent + + + + New Agent + + + )} + {isLoading ? ( // Show skeleton loaders while loading Array.from({length: 3}).map((_, index) => (