This commit is contained in:
Michael Genson 2025-06-18 19:48:48 +00:00
commit 35bc24926c

View file

@ -273,7 +273,7 @@ export default defineNuxtComponent({
// Remove any dates that no longer exist
Object.keys(mealplansByDate).forEach((date) => {
if (!plans.find(p => p.date.toString() === date)) {
delete mealplansByDate[date];
mealplansByDate[date] = [];
}
});
},