small fixes
This commit is contained in:
@@ -120,12 +120,11 @@ export default {
|
||||
body,
|
||||
})
|
||||
.then((res) => {
|
||||
this.is_loading = false;
|
||||
return res.json();}
|
||||
)
|
||||
.then((data) => this.template.updateJson(data))
|
||||
.catch((err) => console.error(err));
|
||||
|
||||
this.is_loading = false;
|
||||
},
|
||||
unsetMeal: function(mealKey) {
|
||||
let idx = this.template.findIndexByKey(mealKey);
|
||||
|
||||
Reference in New Issue
Block a user