diff --git a/ui/litellm-dashboard/src/components/teams.tsx b/ui/litellm-dashboard/src/components/teams.tsx index 0f497595c..8a8d0b037 100644 --- a/ui/litellm-dashboard/src/components/teams.tsx +++ b/ui/litellm-dashboard/src/components/teams.tsx @@ -186,11 +186,17 @@ const Team: React.FC = ({ {Array.isArray(team.models) ? (
- {team.models.map((model: string, index: number) => ( - - {model.length > 30 ? `${model.slice(0, 30)}...` : model} + {team.models.length === 0 ? ( + + All Models - ))} + ) : ( + team.models.map((model: string, index: number) => ( + + {model.length > 30 ? `${model.slice(0, 30)}...` : model} + + )) + )}
) : null}