mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Refresh websites after create.
This commit is contained in:
parent
9e70667de1
commit
b6a900c5a4
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue