mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 09:57:00 +01:00
Refresh websites after create.
This commit is contained in:
parent
9e70667de1
commit
b6a900c5a4
@ -9,8 +9,7 @@ export function WebsiteAddButton({ teamId, onSave }: { teamId: string; onSave?:
|
||||
|
||||
const handleSave = async () => {
|
||||
showToast({ message: formatMessage(messages.saved), variant: 'success' });
|
||||
teamId ? touch('teams:websites') : touch('websites');
|
||||
|
||||
touch('websites');
|
||||
onSave?.();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user