mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-23 06:45:22 -07:00
lint
This commit is contained in:
parent
5e9117f1ff
commit
35bc24926c
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ export default defineNuxtComponent({
|
||||||
// Remove any dates that no longer exist
|
// Remove any dates that no longer exist
|
||||||
Object.keys(mealplansByDate).forEach((date) => {
|
Object.keys(mealplansByDate).forEach((date) => {
|
||||||
if (!plans.find(p => p.date.toString() === date)) {
|
if (!plans.find(p => p.date.toString() === date)) {
|
||||||
delete mealplansByDate[date];
|
mealplansByDate[date] = [];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue