Fix user creation issue (#291)
This commit is contained in:
parent
7e68db9858
commit
09493392db
|
@ -110,6 +110,7 @@ export default {
|
|||
event.preventDefault();
|
||||
try {
|
||||
if (this.isNew) {
|
||||
await usersApi.create(this.userPayload);
|
||||
this.$router.push({ path: "/settings", hash: "#users-main" });
|
||||
notify.showSuccess(this.$t("settings.userCreated"));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue