ef49fc4ce1
## 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 |
||
---|---|---|
.. | ||
DateOverrideInputDialog.tsx | ||
DateOverrideList.tsx | ||
NewScheduleButton.tsx | ||
Schedule.tsx | ||
ScheduleListItem.tsx | ||
index.ts |