mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 05:39:00 -05:00
correctly update plan
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<input name="week" id="id_week" class="form-control" type="week" v-model="week"
|
<input name="week" id="id_week" class="form-control" type="week" v-model="week"
|
||||||
@change="getPlanEntries()">
|
@change="updatePlan()">
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
<button class="btn btn-outline-secondary" @click="changeWeek(1)">
|
<button class="btn btn-outline-secondary" @click="changeWeek(1)">
|
||||||
<i class="fas fa-arrow-right"></i>
|
<i class="fas fa-arrow-right"></i>
|
||||||
@@ -240,7 +240,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
buildGrid: function () {
|
buildGrid: function () {
|
||||||
console.log("BUILD GRID EXECUTED", this.plan_entries)
|
console.log("BUILD GRID EXECUTED")
|
||||||
this.meal_plan = {}
|
this.meal_plan = {}
|
||||||
|
|
||||||
for (let t of this.meal_types) {
|
for (let t of this.meal_types) {
|
||||||
|
|||||||
Reference in New Issue
Block a user