Don't show buttons for custom date range. Closes #2558
This commit is contained in:
@@ -23,7 +23,7 @@ export function WebsiteDateFilter({ websiteId }: { websiteId: string }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
{value !== 'all' && (
|
{value !== 'all' && !value.startsWith('range') && (
|
||||||
<div className={styles.buttons}>
|
<div className={styles.buttons}>
|
||||||
<Button onClick={() => handleIncrement(-1)}>
|
<Button onClick={() => handleIncrement(-1)}>
|
||||||
<Icon rotate={dir === 'rtl' ? 270 : 90}>
|
<Icon rotate={dir === 'rtl' ? 270 : 90}>
|
||||||
|
|||||||
Reference in New Issue
Block a user