[Maps] fix license check for gold and standard license (#27990)
This commit is contained in:
parent
b491d8790a
commit
46d8293992
|
@ -16,7 +16,13 @@ export function checkLicense(xPackInfo) {
|
|||
};
|
||||
}
|
||||
|
||||
const isAnyXpackLicense = xPackInfo.license.isOneOf(['basic', 'platinum', 'trial']);
|
||||
const isAnyXpackLicense = xPackInfo.license.isOneOf([
|
||||
'basic',
|
||||
'standard',
|
||||
'gold',
|
||||
'platinum',
|
||||
'trial',
|
||||
]);
|
||||
|
||||
if (!isAnyXpackLicense) {
|
||||
return {
|
||||
|
@ -27,4 +33,4 @@ export function checkLicense(xPackInfo) {
|
|||
return {
|
||||
gis: true,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue