ui(admin): fix UserForm not allowing null role

This commit is contained in:
Matthew Penner 2021-09-13 19:15:21 -06:00
parent 24d1799322
commit df11129291
No known key found for this signature in database
GPG Key ID: 030E4AB751DC756F

View File

@ -46,7 +46,7 @@ export default function UserForm ({ title, initialValues, children, onSubmit, ro
username: '',
email: '',
password: '',
adminRoleId: 0,
adminRoleId: null,
rootAdmin: false,
};
}