mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 05:15:57 +08:00
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:
parent
1ab6c7177f
commit
4733af974e
@ -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(
|
||||||
|
@ -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 &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user