mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-18 21:19:44 +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>) => {
|
const handleRoleInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
setPartialState({
|
setPartialState({
|
||||||
userCreate: Object.assign(state.userCreate, {
|
userCreate: Object.assign(state.userCreate, {
|
||||||
visibility: e.target.value,
|
role: e.target.value,
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user