1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-02 20:15:24 +02:00

support empty meal-plans

This commit is contained in:
Hayden 2021-01-05 17:36:53 -09:00
parent e662e43288
commit fba3ed68fa
4 changed files with 29 additions and 22 deletions

View file

@ -33,7 +33,7 @@
:key="generateKey(meal.slug, index)"
>
<v-img
class="rounded-lg"
class="rounded-lg info"
:src="getImage(meal.image)"
height="80"
width="80"
@ -105,7 +105,6 @@ export default {
editPlan(id) {
this.plannedMeals.forEach((element) => {
if (element.uid === id) {
console.log(element);
this.editMealPlan = element;
}
});

View file

@ -107,7 +107,7 @@ export default {
this.meals = [];
for (let i = 0; i < this.dateDif; i++) {
this.meals.push({
slug: "",
slug: "empty",
date: this.getDate(i),
dateText: this.getDayText(i),
});