Fix typos

This commit is contained in:
Sebastian Weber
2022-01-20 00:50:41 +01:00
parent 0f7dc096cb
commit c20e982fb1
34 changed files with 51 additions and 51 deletions

View File

@ -1152,7 +1152,7 @@ export default {
updateFood: function (food, field) {
let api = new ApiApiFactory()
if (field) {
// assume if field is changing it should no longer be inheritted
// assume if field is changing it should no longer be inherited
food.inherit_fields = food.inherit_fields.filter((x) => x.field !== field)
}

View File

@ -59,7 +59,7 @@ export default {
addShopping() {
if (this.shopping) {
return
} // if item already in shopping list, excution handled after confirmation
} // if item already in shopping list, execution handled after confirmation
let params = {
id: this.item.id,
amount: 1,

View File

@ -116,7 +116,7 @@ export default {
},
addNew(e) {
this.$emit("new", e)
// could refactor as Promise - seems unecessary
// could refactor as Promise - seems unnecessary
setTimeout(() => {
this.search("")
}, 750)

View File

@ -77,7 +77,7 @@ export default {
},
mounted() {
this.id = Math.random()
this.$root.$on("change", this.storeValue) // boostrap modal placed at document so have to listen at root of component
this.$root.$on("change", this.storeValue) // bootstrap modal placed at document so have to listen at root of component
},
computed: {
buttonLabel() {