fix: Handled navigation dates in week view in calendar layout

This commit is contained in:
gurusainath 2023-12-08 14:36:35 +05:30 committed by sriram veeraghanta
parent 39d1916ab2
commit d4a4046cd3

View File

@ -24,9 +24,9 @@ interface ICalendarHeader {
export const CalendarHeader: React.FC<ICalendarHeader> = 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;