mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Filtering via FilterBar.
This commit is contained in:
parent
da173779e0
commit
0a43ef7b1b
9 changed files with 83 additions and 26 deletions
|
|
@ -27,11 +27,12 @@ export function useDateRange(websiteId?: string) {
|
|||
|
||||
const startDate = new Date(mindate);
|
||||
const endDate = new Date(maxdate);
|
||||
const unit = getMinimumUnit(startDate, endDate);
|
||||
|
||||
dateRange = {
|
||||
startDate,
|
||||
endDate,
|
||||
unit: getMinimumUnit(startDate, endDate),
|
||||
unit,
|
||||
value,
|
||||
};
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue