Closed nickslick03 closed 1 month ago
Ah good catch. I assigned IDs when adding to the meal queue to prevent this issue in the meal queue, but I forgot to reassign them when adding to the day editors. I pushed a fix to the state-management branch and created pull request #26 to bring this patch into development. It says there's a conflict, but it's just two different imports. All we need to do is when we are ready to merge, use the web editor to delete the diff lines and keep both imports.
As the GIF shows, when a meal is added as a duplicate at least twice to the same day, when that meal is removed it removes the duplicate as well.