change(ui): check for edition msaas
This commit is contained in:
parent
00c98ea3f3
commit
d9bf22b04c
1 changed files with 1 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ export default connect((state: any) => ({
|
|||
state.getIn(['user', 'account', 'admin']) || state.getIn(['user', 'account', 'superAdmin']),
|
||||
isEnterprise: !document.location.href.includes('app.openreplay.com') && (
|
||||
state.getIn(['user', 'account', 'edition']) === 'ee' ||
|
||||
state.getIn(['user', 'account', 'edition']) === 'msaas' ||
|
||||
state.getIn(['user', 'authDetails', 'edition']) === 'ee'
|
||||
)
|
||||
}))(observer(CaptureRate));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue