cal.pub0.org/packages/features/schedules/components
Alex van Andel ef49fc4ce1
fix: Remove/Update behaviour of date-overrides
## What does this PR do?

This is not the cleanest approach, but the existing mechanism didn't work in a few situations because of the date sort. The update caused a re-render that caused an invalid unsortedFieldArrayMap.

Reproduction/how to test: 

**Updating bug was hit when you changed the date and it went before another date (re-ordering)**; which then modified the wrong date override. This PR replaces the entire array which retains the correct sort order by brute force.

**Delete bug was encountered if the sorted order was not the same as the filtered order, which depends on the order you created the date overrides in**. This PR implements an original order before the sort causing the right item to be removed.

Fixes #8043
2023-07-12 17:45:30 -07:00
..
DateOverrideInputDialog.tsx fix: Ensure rendering as UTC to prevent browser tz from messing up times 2023-07-12 17:32:11 -07:00
DateOverrideList.tsx fix: Remove/Update behaviour of date-overrides 2023-07-12 17:45:30 -07:00
NewScheduleButton.tsx fix: Various errors & 500 error on duplicate url when editing (#9731) 2023-06-23 07:03:45 +02:00
Schedule.tsx fix: allow backtracking while adding new time slots in availability (#9789) 2023-06-30 18:46:38 +00:00
ScheduleListItem.tsx feat: insights orgs [CAL-1888] (#9551) 2023-06-29 19:03:44 +02:00
index.ts Feature/date overrides (#5991) 2022-12-14 17:30:55 +00:00