From d4a4046cd3a63b2da95417c1225a0485f15e024f Mon Sep 17 00:00:00 2001 From: gurusainath Date: Fri, 8 Dec 2023 14:36:35 +0530 Subject: [PATCH] fix: Handled navigation dates in week view in calendar layout --- web/components/issues/issue-layouts/calendar/header.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/components/issues/issue-layouts/calendar/header.tsx b/web/components/issues/issue-layouts/calendar/header.tsx index ac54aa6d2..5557abbaa 100644 --- a/web/components/issues/issue-layouts/calendar/header.tsx +++ b/web/components/issues/issue-layouts/calendar/header.tsx @@ -24,9 +24,9 @@ interface ICalendarHeader { export const CalendarHeader: React.FC = observer((props) => { const { issuesFilterStore } = props; - const { issueFilter: issueFilterStore, calendar: calendarStore } = useMobxStore(); + const { calendar: calendarStore } = useMobxStore(); - const calendarLayout = issueFilterStore.userDisplayFilters.calendar?.layout ?? "month"; + const calendarLayout = issuesFilterStore.issueFilters?.displayFilters?.calendar?.layout ?? "month"; const { activeMonthDate, activeWeekDate } = calendarStore.calendarFilters;