diff --git a/ui/litellm-dashboard/src/components/organization/organization_view.tsx b/ui/litellm-dashboard/src/components/organization/organization_view.tsx index b30170a3ae9..00cb2a82fd1 100644 --- a/ui/litellm-dashboard/src/components/organization/organization_view.tsx +++ b/ui/litellm-dashboard/src/components/organization/organization_view.tsx @@ -226,11 +226,15 @@ const OrganizationInfoView: React.FC = ({ Models
- {orgData.models.map((model, index) => ( + {orgData.models.length === 0 ? ( + All proxy models + ) : ( + orgData.models.map((model, index) => ( - {model} + {model} - ))} + )) + )}
diff --git a/ui/litellm-dashboard/src/components/team/team_info.tsx b/ui/litellm-dashboard/src/components/team/team_info.tsx index d502097b8f5..1de0966f196 100644 --- a/ui/litellm-dashboard/src/components/team/team_info.tsx +++ b/ui/litellm-dashboard/src/components/team/team_info.tsx @@ -295,11 +295,15 @@ const TeamInfoView: React.FC = ({ Models
- {info.models.map((model, index) => ( - - {model} - - ))} + {info.models.length === 0 ? ( + All proxy models + ) : ( + info.models.map((model, index) => ( + + {model} + + )) + )}