Skip to content

Commit

Permalink
Fixed Tenant License crash in tenant details (#2644)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
  • Loading branch information
bexsoft authored Feb 8, 2023
1 parent f0b39a6 commit 894f6ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 894f6ce

Please sign in to comment.