Make storageLimit nullable and display 'NA'

This commit is contained in:
mngshm
2025-05-06 13:10:29 +05:30
parent 267f93e41e
commit 0c664b94b9

View File

@@ -140,7 +140,11 @@ const FamilyTableComponent: React.FC = () => {
</TableCell>
<TableCell>
{member.status !== "SELF"
? formatUsageToGB(member.storageLimit)
? (member.storageLimit &&
formatUsageToGB(
member.storageLimit,
)) ||
"NA"
: ""}
</TableCell>
</TableRow>