fix(license): return the active license even in case of suspended status (#8097)

* fix(license): return the active license even in case of suspended status

* fix(license): suspended check for side nav

* fix(license): suspended check for side nav

* fix(license): suspended check for side nav

* fix(license): suspended check for side nav
This commit is contained in:
Vikrant Gupta 2025-05-29 17:35:27 +05:30 committed by GitHub
parent 1ab6c7177f
commit 4733af974e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ function SideNav(): JSX.Element {
const isWorkspaceBlocked = trialInfo?.workSpaceBlock || false; const isWorkspaceBlocked = trialInfo?.workSpaceBlock || false;
const isLicenseActive = licenseStatus === 'VALID'; const isLicenseActive = licenseStatus !== '' && licenseStatus !== 'INVALID';
const onClickSignozCloud = (): void => { const onClickSignozCloud = (): void => {
window.open( window.open(

View File

@ -87,7 +87,7 @@ func GetActiveLicenseFromStorableLicenses(storableLicenses []*StorableLicense, o
return nil, err return nil, err
} }
if license.Status != "VALID" { if license.Status == "INVALID" {
continue continue
} }
if activeLicense == nil && if activeLicense == nil &&