mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Don't show buttons for custom date range. Closes #2558
This commit is contained in:
parent
9504d17d9a
commit
9779d9ba76
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue