small fixes

This commit is contained in:
artus committed 2019-02-15 14:18:17 +01:00
1 parent 4bc04bd7e3
commit 4e5aab323e
3 files changed
+7 -11

No files matched your search

+1 -2
View File
@@ -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);