Fix user creation issue (#291)

This commit is contained in:
Graham Steffaniak 2025-01-13 20:30:51 -05:00 committed by GitHub
parent 7e68db9858
commit 09493392db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ export default {
event.preventDefault(); event.preventDefault();
try { try {
if (this.isNew) { if (this.isNew) {
await usersApi.create(this.userPayload);
this.$router.push({ path: "/settings", hash: "#users-main" }); this.$router.push({ path: "/settings", hash: "#users-main" });
notify.showSuccess(this.$t("settings.userCreated")); notify.showSuccess(this.$t("settings.userCreated"));
} else { } else {