mirror of
https://github.com/umami-software/umami.git
synced 2026-02-05 21:27:20 +01:00
Merge branch 'analytics' into dev
This commit is contained in:
commit
b76f4aa42d
4 changed files with 4 additions and 4 deletions
|
|
@ -92,7 +92,7 @@ export function DateFilter({
|
|||
const handleClose = () => setShowPicker(false);
|
||||
|
||||
const renderValue = (value: string) => {
|
||||
const { unit } = parseDateValue(value);
|
||||
const { unit } = parseDateValue(value) || {};
|
||||
|
||||
if (offset && unit === 'year') {
|
||||
return formatDate(startDate, 'yyyy', locale);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue