From 2e2e14964f89406ac5c6659936b9c80250adf91b Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Sun, 21 Mar 2021 17:48:09 +0800 Subject: [PATCH] Fix monthly graph bug --- src/routes/wish/_summary.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/wish/_summary.svelte b/src/routes/wish/_summary.svelte index 070470c5..a1c3396d 100644 --- a/src/routes/wish/_summary.svelte +++ b/src/routes/wish/_summary.svelte @@ -55,6 +55,8 @@ console.log('wish summary read local'); const prefix = getAccountPrefix(); + monthlyData = {}; + for (let type of types) { const path = `wish-counter-${type.id}`; const data = readSave(`${prefix}${path}`);