Skip to content

Commit

Permalink
Merge pull request #2106 from zetkin/issue2054-ProjectCalendarEvent
Browse files Browse the repository at this point in the history
CreateEvent in CalendarWeekView now adds the event to the selected project
  • Loading branch information
richardolsson authored Aug 17, 2024
2 parents 62d38b8 + f2d4f87 commit f6418e1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ const CalendarWeekView = ({ focusDate, onClickDay }: CalendarWeekViewProps) => {
setGhostAnchorEl(null);
await createEvent({
activity_id: null,
campaign_id: campId,
end_time: pendingEvent[1].toISOString(),
location_id: null,
start_time: pendingEvent[0].toISOString(),
Expand Down

0 comments on commit f6418e1

Please sign in to comment.