mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 13:47:15 +01:00
fix bounce checkbox for share page
This commit is contained in:
parent
f84b9f041d
commit
8f15741b68
2 changed files with 29 additions and 24 deletions
|
|
@ -16,7 +16,8 @@ export function WebsiteFilterButton({
|
|||
const { formatMessage, labels } = useMessages();
|
||||
const { updateParams, pathname, router, query } = useNavigation();
|
||||
const [excludeBounce, setExcludeBounce] = useState(!!query.excludeBounce);
|
||||
const isOverview = /^\/teams\/[^/]+\/websites\/[^/]+$/.test(pathname);
|
||||
const isOverview =
|
||||
/^\/teams\/[^/]+\/websites\/[^/]+$/.test(pathname) || /^\/share\/[^/]+$/.test(pathname);
|
||||
|
||||
const handleChange = ({ filters, segment, cohort }: any) => {
|
||||
const params = filtersArrayToObject(filters);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue