mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
fix retention report dates and days
This commit is contained in:
parent
ef98ceac2f
commit
ff0c825a7b
2 changed files with 3 additions and 3 deletions
|
|
@ -58,7 +58,7 @@ export function RetentionTable({ days = DAYS }) {
|
|||
if (totalDays - rowIndex < day) {
|
||||
return null;
|
||||
}
|
||||
const percentage = records[day]?.percentage;
|
||||
const percentage = records.filter(a => a.day === day)[0]?.percentage;
|
||||
return (
|
||||
<div
|
||||
key={day}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue