Use Kloon15 changes which apperantly disappeard
This commit is contained in:
parent
a70bf08889
commit
44b76fa1ea
@ -167,7 +167,7 @@ const save = async (event: Event) => {
|
|||||||
router.push({ path: loc });
|
router.push({ path: loc });
|
||||||
$showSuccess(t("settings.userCreated"));
|
$showSuccess(t("settings.userCreated"));
|
||||||
} else {
|
} else {
|
||||||
await api.update(user);
|
await api.update(user.value);
|
||||||
|
|
||||||
if (user.value.id === authStore.user?.id) {
|
if (user.value.id === authStore.user?.id) {
|
||||||
authStore.updateUser(user.value);
|
authStore.updateUser(user.value);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user