From 5567a239df8225575a5ce6731469da820117dd75 Mon Sep 17 00:00:00 2001 From: sb Date: Tue, 7 Jul 2026 23:38:05 +0900 Subject: [PATCH] =?UTF-8?q?chore(home):=20=EC=9D=B4=EB=B2=88=20=EB=8B=AC?= =?UTF-8?q?=20=EC=83=81=ED=99=98=20=EC=98=88=EC=A0=95=20=EC=B9=B4=EB=93=9C?= =?UTF-8?q?=20=EC=9C=A0=EB=A3=8C=20=EC=A0=84=EC=9A=A9=20=E2=80=94=20?= =?UTF-8?q?=EB=AC=B4=EB=A3=8C=EB=8A=94=20=EA=B3=84=EC=82=B0=C2=B7=EB=85=B8?= =?UTF-8?q?=EC=B6=9C=20=EC=83=9D=EB=9E=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- src/views/HomeView.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 93fe44d..cd595a3 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -151,14 +151,15 @@ async function load() { accountApi.netWorth(), auth.isPremium ? accountApi.budgetStatus({ year, month }) : Promise.resolve([]), accountApi.list({ year, month }), - accountApi.wallets(), + auth.isPremium ? accountApi.wallets() : Promise.resolve([]), ]) summary.value = sum networth.value = nw budgetTotal.value = (status || []).reduce((s, x) => s + (x.monthlyBudget || 0), 0) spentTotal.value = (status || []).reduce((s, x) => s + (x.spent || 0), 0) entries.value = list || [] - await computeRepayDue(ws || [], list || []) + // 상환 예정은 유료 전용 — 무료 회원은 계산·조회 생략 + if (auth.isPremium) await computeRepayDue(ws || [], list || []) // 오늘 기록 여부로 가계부 리마인더 보정(오늘 기록 있으면 오늘자 알림 제외) if (reminders.isNative()) { const t = new Date() @@ -329,7 +330,7 @@ onMounted(load) -
+
이번 달 상환 예정 상환 →