mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-21 14:19:26 +00:00
chore: fix role handler
This commit is contained in:
parent
a0766159f2
commit
af31875e6a
@ -80,7 +80,7 @@ const CreateUserDialog: React.FC<Props> = (props: Props) => {
|
||||
const handleRoleInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
setPartialState({
|
||||
userCreate: Object.assign(state.userCreate, {
|
||||
visibility: e.target.value,
|
||||
role: e.target.value,
|
||||
}),
|
||||
});
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user