mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Prevent null error.
This commit is contained in:
parent
6bcc349a6e
commit
41593ee1df
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ export function DateFilter({
|
|||
);
|
||||
}
|
||||
|
||||
return options.find(e => e.value === value).label;
|
||||
return options.find(e => e.value === value)?.label;
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue