mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-24 11:01:38 +01:00
Prevent null error.
This commit is contained in:
parent
6bcc349a6e
commit
41593ee1df
@ -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…
Reference in New Issue
Block a user