mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Maps] fix license check for gold and standard license (#27990)
This commit is contained in:
parent
b491d8790a
commit
46d8293992
1 changed files with 8 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue