fix(ui) - user role flag on create (#1122)
This commit is contained in:
parent
865aaaa488
commit
67b6cb1116
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ export default class UserStore {
|
|||
const newUser = new User().fromJson(response);
|
||||
if (wasCreating) {
|
||||
this.modifiedCount -= 1;
|
||||
this.list.push(new User().fromJson(newUser));
|
||||
this.list.push(newUser);
|
||||
toast.success('User created successfully');
|
||||
} else {
|
||||
this.updateUser(newUser);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue