Skip to content

Commit

Permalink
modify get eventWasUpdated function [SDBELGA-769] (#1923)
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro authored and MarkLark86 committed Mar 6, 2024
1 parent 5522b79 commit 74735c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function eventWasUpdated(original: IEventItem, updates: Partial<IEventItem>): bo
const originalItem = eventUtils.modifyForServer(cloneDeep(original));
const eventUpdates = eventUtils.getEventDiff(originalItem, updates);
const eventFields = Object.keys(eventUpdates).filter(
(field) => !['associated_plannings', 'update_method', 'dates'].includes(field)
(field) => !['update_method', 'dates'].includes(field)
);

return eventFields.length > 0;
Expand Down

0 comments on commit 74735c9

Please sign in to comment.