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
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}; };
} }