[Maps] fix license check for gold and standard license (#27990)

This commit is contained in:
Nathan Reese 2019-01-03 16:16:53 -07:00 committed by GitHub
parent b491d8790a
commit 46d8293992
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
};
}
}