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