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) => (