[BeatsCM] Fix check for expiry_date_in_millis to allow for non-expiry (#27198)
* Fix check for expiry_date_in_millis to allow for non-expiry * fix typo
This commit is contained in:
parent
ae6a4c5070
commit
d9a7b720ac
|
@ -89,7 +89,10 @@ export class KibanaFrameworkAdapter implements FrameworkAdapter {
|
|||
license: {
|
||||
type: xpackInfo ? xpackInfo.getLicense().type : 'oss',
|
||||
expired: xpackInfo ? !xpackInfo.getLicense().isActive : false,
|
||||
expiry_date_in_millis: xpackInfo ? xpackInfo.getLicense().expiryDateInMillis : 0,
|
||||
expiry_date_in_millis:
|
||||
xpackInfo.getLicense().expiryDateInMillis !== undefined
|
||||
? xpackInfo.getLicense().expiryDateInMillis
|
||||
: -1,
|
||||
},
|
||||
security: {
|
||||
enabled: xpackInfo
|
||||
|
|
Loading…
Reference in a new issue