diff --git a/client/apps/Planning/PlanningList.tsx b/client/apps/Planning/PlanningList.tsx index 936edc942..331bc6db2 100644 --- a/client/apps/Planning/PlanningList.tsx +++ b/client/apps/Planning/PlanningList.tsx @@ -215,6 +215,7 @@ export class PlanningListComponent extends React.PureComponent { desks={desks} users={users} itemActions={itemActions} + hideItemActions={hideItemActions} showAddCoverage={showAddCoverage} calendars={calendars} listFields={listFields} diff --git a/client/utils/index.ts b/client/utils/index.ts index 6dd85c50e..ff17907e5 100644 --- a/client/utils/index.ts +++ b/client/utils/index.ts @@ -694,7 +694,7 @@ export const getSearchDateRange = (currentSearch, startOfWeek) => { if (!get(dates, 'start') && !get(dates, 'end') && !get(dates, 'range')) { dateRange.startDate = moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD', true); - dateRange.endDate = moment().add(1, 'month'); + dateRange.endDate = moment().add(999, 'years'); } else if (get(dates, 'range')) { let range = get(dates, 'range');