Skip to content

Commit

Permalink
fix merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkLark86 committed Oct 20, 2023
1 parent 44decac commit 7f8a480
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/actions/agenda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import {cloneDeep, pick, get, sortBy, findIndex} from 'lodash';
import {Moment} from 'moment';

import {IEventItem, IPlanningItem, IAgenda} from '../interfaces';
import {planningApi} from '../superdeskApi';

import {AGENDA, MODALS, EVENTS} from '../constants';
import {getErrorMessage, gettext, planningUtils} from '../utils';
import {planning, showModal, main} from './index';
import {convertStringFields} from '../utils/strings';
import {planningApi} from "../superdeskApi";

const openAgenda = () => (
(dispatch) => (
Expand Down
2 changes: 1 addition & 1 deletion client/api/planning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function convertPlanningParams(params: ISearchParams): Partial<ISearchAPIParams>
g2_content_type: params.g2_content_type?.qcode,
source: cvsToString(params.source, 'id'),
coverage_user_id: params.coverage_user_id,
coverage_assignment_status: params.coverage_assignment_status
coverage_assignment_status: params.coverage_assignment_status,
priority: arrayToString(params.priority),
};
}
Expand Down
6 changes: 5 additions & 1 deletion client/utils/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,11 @@ const isEventInRange = (
/*
* Groups the events by date
*/
function getEventsByDate(events: Array<IEventItem>, startDate: moment.Moment, endDate: moment.Moment): Array<IEventItem> {
function getEventsByDate(
events: Array<IEventItem>,
startDate: moment.Moment,
endDate: moment.Moment
): Array<IEventItem> {
if ((events?.length ?? 0) === 0) {
return [];
}
Expand Down

0 comments on commit 7f8a480

Please sign in to comment.