Fixed thinking we are on login screen when really loading dashboard

This commit is contained in:
2025-07-27 08:40:38 -04:00
parent ded6489edf
commit 1d2e90a183
3 changed files with 14 additions and 4 deletions

View File

@ -10,8 +10,6 @@
let budgetTransactions = $derived(data.budgetTransactions);
let last30days = $derived(data.last30DaysTransactionsSums.reverse());
$inspect(last30days);
let chartData = $derived(
last30days.reduce(
(acc, curr) => [...acc, acc[acc.length - 1] + Number(curr.sum)],
@ -19,7 +17,6 @@
)
);
$inspect(chartData);
let chartDates = $derived([
'now',
...last30days.map((day) => `${day.date.getMonth() + 1}/${day.date.getDate()}`)