fix visits + sessions reactivity

This commit is contained in:
Emily
2024-08-04 00:33:28 +02:00
parent 5a26c8c788
commit ba1d6c4bd0
7 changed files with 66 additions and 60 deletions

View File

@@ -108,11 +108,13 @@ class DateService {
const lastDate = dayjs(dates.at(-1));
let currentDate = firstDate.clone();
allDates.push(currentDate);
while (currentDate.isBefore(lastDate, slice)) {
currentDate = currentDate.add(1, slice);
allDates.push(currentDate);
}
return allDates;
}