Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Make storageLimit nullable and display 'NA'

mngshm0c664b94b9f9
diff --git a/infra/staff/src/components/FamilyComponentTable.tsx b/infra/staff/src/components/FamilyComponentTable.tsx
index 02d2bbbd46..77e7a9ed44 100644
--- a/infra/staff/src/components/FamilyComponentTable.tsx
+++ b/infra/staff/src/components/FamilyComponentTable.tsx
@@ -140,7 +140,11 @@ const FamilyTableComponent: React.FC = () => {
</TableCell>
<TableCell>
{member.status !== "SELF"
- ? formatUsageToGB(member.storageLimit)
+ ? (member.storageLimit &&
+ formatUsageToGB(
+ member.storageLimit,
+ )) ||
+ "NA"
: ""}
</TableCell>
</TableRow>