Skip to content

Commit

Permalink
revert extra changes
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Jul 16, 2024
1 parent 83aae38 commit 546da19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/apps/Planning/PlanningList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ export class PlanningListComponent extends React.PureComponent<IProps> {
desks={desks}
users={users}
itemActions={itemActions}
hideItemActions={hideItemActions}
showAddCoverage={showAddCoverage}
calendars={calendars}
listFields={listFields}
Expand Down
2 changes: 1 addition & 1 deletion client/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 546da19

Please sign in to comment.