fix - ui show correct team budget when budget = 0.0

This commit is contained in:
Ishaan Jaff
2024-06-13 20:55:49 -07:00
committed by Krrish Dholakia
parent 8f77cfc013
commit b30856db73
@@ -427,7 +427,7 @@ const Team: React.FC<TeamProps> = ({
overflow: "hidden",
}}
>
{team["max_budget"] ? team["max_budget"] : "No limit"}
{team["max_budget"] !== null && team["max_budget"] !== undefined ? team["max_budget"] : "No limit"}
</TableCell>
<TableCell
style={{