fix(frontend): fix retention chart rendering

This commit is contained in:
syuilo
2023-05-11 18:20:48 +09:00
parent 8b352e4e56
commit 9e464eaa63
2 changed files with 2 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ async function renderChart() {
let raw = await os.api('retention', { });
raw = raw.slice(0, maxDays);
raw = raw.slice(0, maxDays + 1);
const data = [];
for (const record of raw) {