diff --git a/portal-ui/src/screens/Console/Tenants/TenantDetails/SubnetLicenseTenant.tsx b/portal-ui/src/screens/Console/Tenants/TenantDetails/SubnetLicenseTenant.tsx index b1a404331..5039e69e8 100644 --- a/portal-ui/src/screens/Console/Tenants/TenantDetails/SubnetLicenseTenant.tsx +++ b/portal-ui/src/screens/Console/Tenants/TenantDetails/SubnetLicenseTenant.tsx @@ -99,7 +99,7 @@ const SubnetLicenseTenant = ({ licenseInfo, activateProduct, }: ISubnetLicenseTenant) => { - const expiryTime = tenant + const expiryTime = tenant?.subnet_license ? DateTime.fromISO(tenant.subnet_license.expires_at) : DateTime.now();