mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
Export preference components. Updates for cloud.
This commit is contained in:
parent
23838c57fb
commit
0ae5c28da7
7 changed files with 14 additions and 9 deletions
|
|
@ -25,7 +25,7 @@ export function WebsiteMenu({ websiteId }: { websiteId: string }) {
|
|||
if (id === 'compare') {
|
||||
router.push(updateParams({ compare: 'prev' }));
|
||||
} else if (id === 'edit') {
|
||||
router.push(renderUrl(`/settings/websites/${websiteId}`));
|
||||
router.push(renderUrl(`/websites/${websiteId}`));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ export function WebsiteData({ websiteId, onSave }: { websiteId: string; onSave?:
|
|||
const handleSave = () => {
|
||||
touch('websites');
|
||||
onSave?.();
|
||||
router.push(renderUrl(`/settings/websites`));
|
||||
router.push(renderUrl(`/websites`));
|
||||
};
|
||||
|
||||
const handleReset = async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue