fix - ui show correct team budget when budget = 0.0

This commit is contained in:
Ishaan Jaff 2024-06-13 15:30:29 -07:00
parent 676fdfb1ca
commit a8f3c33db0

View file

@ -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={{