From b30856db7332df0335c023525cacaa09ba682da0 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 13 Jun 2024 15:30:29 -0700 Subject: [PATCH] fix - ui show correct team budget when budget = 0.0 --- ui/litellm-dashboard/src/components/teams.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/components/teams.tsx b/ui/litellm-dashboard/src/components/teams.tsx index 9e5758a283..56d4f5e0d6 100644 --- a/ui/litellm-dashboard/src/components/teams.tsx +++ b/ui/litellm-dashboard/src/components/teams.tsx @@ -427,7 +427,7 @@ const Team: React.FC = ({ overflow: "hidden", }} > - {team["max_budget"] ? team["max_budget"] : "No limit"} + {team["max_budget"] !== null && team["max_budget"] !== undefined ? team["max_budget"] : "No limit"}