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

This commit is contained in:
Mike Cao 2024-03-05 23:41:55 -08:00
parent 9504d17d9a
commit 9779d9ba76

View File

@ -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}>