Skip to content

Commit

Permalink
fix ui check when budget is 0 (#6506)
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaan-jaff authored Oct 30, 2024
1 parent ed42b55 commit b419170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/litellm-dashboard/src/components/view_users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({
{user.spend ? user.spend?.toFixed(2) : "-"}
</TableCell>
<TableCell>
{user.max_budget ? user.max_budget : "Unlimited"}
{user.max_budget !== null ? user.max_budget : "Unlimited"}
</TableCell>
<TableCell>
<Grid numItems={2}>
Expand Down

0 comments on commit b419170

Please sign in to comment.