diff --git a/components/calendar/calendar-app.tsx b/components/calendar/calendar-app.tsx index f674984c0..29acf97fc 100644 --- a/components/calendar/calendar-app.tsx +++ b/components/calendar/calendar-app.tsx @@ -669,7 +669,7 @@ export function CalendarApp({ linkSegments }: CalendarAppProps = {}) { const { dateRange: currentRange } = useCalendarStore.getState(); if (!currentRange) return; if (multiAccountEnabled && accountClients.length > 0) { - await fetchAllAccountsEventsFn(accountClients, activeAccountId, currentRange.start, currentRange.end); + await fetchAllAccountsEventsFn(accountClients, currentRange.start, currentRange.end); return; } await fetchEvents(client, currentRange.start, currentRange.end); @@ -682,7 +682,7 @@ export function CalendarApp({ linkSegments }: CalendarAppProps = {}) { onRefresh: async () => { if (!client) return; const calendarRefresh = multiAccountEnabled && accountClients.length > 0 && activeAccountId - ? fetchAllAccountsCalendarsFn(accountClients, activeAccountId) + ? fetchAllAccountsCalendarsFn(accountClients) : fetchCalendars(client); await Promise.all([ calendarRefresh, diff --git a/components/calendar/calendar-sidebar-panel.tsx b/components/calendar/calendar-sidebar-panel.tsx index 38dc2dccd..7dd844510 100644 --- a/components/calendar/calendar-sidebar-panel.tsx +++ b/components/calendar/calendar-sidebar-panel.tsx @@ -242,6 +242,10 @@ export function CalendarSidebarPanel({