Skip to content

Commit

Permalink
fixup! fix(CalendarObjectInstance): reset attendee participation stat…
Browse files Browse the repository at this point in the history
…us on duplication of an event

Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
  • Loading branch information
GVodyanov committed Aug 29, 2024
1 parent 7e4a956 commit 16b665a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/store/calendarObjectInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,6 @@ export default defineStore('calendarObjectInstance', {
const calendarObjectsStore = useCalendarObjectsStore()

const oldCalendarObjectInstance = this.calendarObjectInstance

const oldEventComponent = oldCalendarObjectInstance.eventComponent
const startDate = oldEventComponent.startDate.getInUTC()
const endDate = oldEventComponent.endDate.getInUTC()
Expand All @@ -1479,7 +1478,6 @@ export default defineStore('calendarObjectInstance', {
isAllDay: oldEventComponent.isAllDay(),
})
const eventComponent = getObjectAtRecurrenceId(calendarObject, startDate.jsDate)

copyCalendarObjectInstanceIntoEventComponent(oldCalendarObjectInstance, eventComponent, true)
const calendarObjectInstance = mapEventComponentToEventObject(eventComponent)

Expand Down

0 comments on commit 16b665a

Please sign in to comment.