Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fix filters persisting across website change

Francis Cao17a31820fa8b
diff --git a/src/app/(main)/TopNav.tsx b/src/app/(main)/TopNav.tsx
index 9caaeb73c..3c71dbba6 100644
--- a/src/app/(main)/TopNav.tsx
+++ b/src/app/(main)/TopNav.tsx
@@ -12,19 +12,19 @@ export function TopNav() {
const { websiteId, linkId, pixelId, boardId, teamId, router, renderUrl } = useNavigation();
const handleWebsiteChange = (value: string) => {
- router.push(renderUrl(`/websites/${value}`));
+ router.push(renderUrl(`/websites/${value}`, false));
};
const handleLinkChange = (value: string) => {
- router.push(renderUrl(`/links/${value}`));
+ router.push(renderUrl(`/links/${value}`, false));
};
const handlePixelChange = (value: string) => {
- router.push(renderUrl(`/pixels/${value}`));
+ router.push(renderUrl(`/pixels/${value}`, false));
};
const handleBoardChange = (value: string) => {
- router.push(renderUrl(`/boards/${value}`));
+ router.push(renderUrl(`/boards/${value}`, false));
};
return (