ui(admin): fix UserForm not allowing null role
This commit is contained in:
parent
24d1799322
commit
df11129291
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ export default function UserForm ({ title, initialValues, children, onSubmit, ro
|
|||
username: '',
|
||||
email: '',
|
||||
password: '',
|
||||
adminRoleId: 0,
|
||||
adminRoleId: null,
|
||||
rootAdmin: false,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue