mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +01:00
Fix admin layout and data refresh after update/delete
This commit is contained in:
parent
c81b1c16c8
commit
ef55b63a3b
5 changed files with 29 additions and 13 deletions
|
|
@ -22,6 +22,7 @@ export function UserEditForm({ userId, onSave }: { userId: string; onSave?: () =
|
|||
await mutateAsync(data, {
|
||||
onSuccess: async () => {
|
||||
toast(formatMessage(messages.saved));
|
||||
touch('users');
|
||||
touch(`user:${user.id}`);
|
||||
onSave?.();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue