fix: initialize stats calendar year from range
This commit is contained in:
parent
180ba7e17e
commit
863d62fd88
|
|
@ -183,7 +183,7 @@ watch([rangeMode, selectedMonth, selectedYear, customStart, customEnd], () => {
|
|||
if (!bounds) return;
|
||||
calendarCursorMonth.value = `${bounds.start.getFullYear()}-${String(bounds.start.getMonth() + 1).padStart(2, "0")}`;
|
||||
calendarCursorYear.value = bounds.start.getFullYear();
|
||||
});
|
||||
}, { immediate: true });
|
||||
|
||||
const dailyStats = computed(() => {
|
||||
const groups = new Map<string, LedgerEntry[]>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue