From a8f3c33db08ab9f1dc71f349b4ceaf4ee2a4034d 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 9e5758a28..56d4f5e0d 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"}