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