Fixed Tenant License crash in tenant details (#2644)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
@@ -99,7 +99,7 @@ const SubnetLicenseTenant = ({
|
|||||||
licenseInfo,
|
licenseInfo,
|
||||||
activateProduct,
|
activateProduct,
|
||||||
}: ISubnetLicenseTenant) => {
|
}: ISubnetLicenseTenant) => {
|
||||||
const expiryTime = tenant
|
const expiryTime = tenant?.subnet_license
|
||||||
? DateTime.fromISO(tenant.subnet_license.expires_at)
|
? DateTime.fromISO(tenant.subnet_license.expires_at)
|
||||||
: DateTime.now();
|
: DateTime.now();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user