Skip to content

Commit 894f6ce

Browse files
authored
Fixed Tenant License crash in tenant details (#2644)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
1 parent f0b39a6 commit 894f6ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

portal-ui/src/screens/Console/Tenants/TenantDetails/SubnetLicenseTenant.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const SubnetLicenseTenant = ({
9999
licenseInfo,
100100
activateProduct,
101101
}: ISubnetLicenseTenant) => {
102-
const expiryTime = tenant
102+
const expiryTime = tenant?.subnet_license
103103
? DateTime.fromISO(tenant.subnet_license.expires_at)
104104
: DateTime.now();
105105

0 commit comments

Comments
 (0)