Skip to content

Commit

Permalink
Merge branch 'refresh-shopping-items-on-item-modal' into 'main'
Browse files Browse the repository at this point in the history
chore: refresh shopping items on item modal

See merge request flattrack/flattrack!395
  • Loading branch information
BobyMCbobs committed Aug 23, 2024
2 parents 6edb578 + aba1541 commit c9eb447
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion web/src/views/authenticated/shopping-list-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,19 @@ export default {
shoppinglist.GetShoppingList(this.templateId).then((resp) => {
this.templateListName = resp.data.spec.name
})
}
},
isNewItemModalActive() {
if (this.isNewItemModalActive !== false) {
return
}
this.GetShoppingListItems()
},
isEditItemModalActive() {
if (this.isEditItemModalActive !== false) {
return
}
this.GetShoppingListItems()
},
},
async beforeMount () {
this.GetShoppingList()
Expand Down

0 comments on commit c9eb447

Please sign in to comment.