mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
Don't show buttons for custom date range. Closes #2558
This commit is contained in:
parent
9504d17d9a
commit
9779d9ba76
@ -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}>
|
||||||
|
Loading…
Reference in New Issue
Block a user