fix(ui): capture rate - ee
This commit is contained in:
parent
e9e34e9f77
commit
e35a4cea7c
1 changed files with 2 additions and 1 deletions
|
|
@ -147,7 +147,8 @@ function CaptureRate(props: Props) {
|
|||
export default connect((state: any) => ({
|
||||
isAdmin:
|
||||
state.getIn(['user', 'account', 'admin']) || state.getIn(['user', 'account', 'superAdmin']),
|
||||
isEnterprise:
|
||||
isEnterprise: !document.location.href.includes('app.openreplay.com') && (
|
||||
state.getIn(['user', 'account', 'edition']) === 'ee' ||
|
||||
state.getIn(['user', 'authDetails', 'edition']) === 'ee'
|
||||
)
|
||||
}))(observer(CaptureRate));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue