mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Fix create user for basic tier (#1081)
This commit is contained in:
parent
9b1cd14839
commit
023e931911
1 changed files with 8 additions and 1 deletions
|
|
@ -366,7 +366,13 @@ export class UserManagementPage extends Component {
|
|||
};
|
||||
|
||||
renderCreateUserModal = () => {
|
||||
const { currentUser, inviteErrors, config, teams } = this.props;
|
||||
const {
|
||||
currentUser,
|
||||
inviteErrors,
|
||||
config,
|
||||
teams,
|
||||
isBasicTier,
|
||||
} = this.props;
|
||||
const { showCreateUserModal } = this.state;
|
||||
const { onCreateUserSubmit, toggleCreateUserModal } = this;
|
||||
|
||||
|
|
@ -388,6 +394,7 @@ export class UserManagementPage extends Component {
|
|||
defaultGlobalRole={"observer"}
|
||||
defaultTeams={[]}
|
||||
submitText={"Create"}
|
||||
isBasicTier={isBasicTier}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue