Merge branch 'dev' of github.com:openreplay/openreplay into funnels
This commit is contained in:
commit
95f0649ccb
1 changed files with 5 additions and 1 deletions
|
|
@ -6,6 +6,8 @@ import { useObserver } from 'mobx-react-lite';
|
|||
import { useModal } from 'App/components/Modal';
|
||||
import Select from 'Shared/Select';
|
||||
import { confirm } from 'UI/Confirmation';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
interface Props {
|
||||
isSmtp?: boolean;
|
||||
isEnterprise?: boolean;
|
||||
|
|
@ -151,4 +153,6 @@ function UserForm(props: Props) {
|
|||
));
|
||||
}
|
||||
|
||||
export default UserForm;
|
||||
export default connect(state => ({
|
||||
isEnterprise: state.getIn([ 'user', 'client', 'edition' ]) === 'ee',
|
||||
}))(UserForm);
|
||||
Loading…
Add table
Reference in a new issue