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.

Don't show buttons for custom date range. Closes #2558

Mike Cao9779d9ba76af
diff --git a/src/components/input/WebsiteDateFilter.tsx b/src/components/input/WebsiteDateFilter.tsx
index 17b70c82e..3cb887662 100644
--- a/src/components/input/WebsiteDateFilter.tsx
+++ b/src/components/input/WebsiteDateFilter.tsx
@@ -23,7 +23,7 @@ export function WebsiteDateFilter({ websiteId }: { websiteId: string }) {
return (
<div className={styles.container}>
- {value !== 'all' && (
+ {value !== 'all' && !value.startsWith('range') && (
<div className={styles.buttons}>
<Button onClick={() => handleIncrement(-1)}>
<Icon rotate={dir === 'rtl' ? 270 : 90}>