implement sort order via API

This commit is contained in:
Chris Scoggins
2022-01-22 14:31:06 -06:00
parent 890e9e7242
commit 8d78d15e21
6 changed files with 211 additions and 94 deletions

View File

@ -100,7 +100,7 @@ export default {
return {
servings_value: 0,
recipe_share_link: undefined,
modal_id: this.recipe.id + Math.round(Math.random() * 100000),
modal_id: undefined,
options: {
entryEditing: {
date: null,
@ -200,6 +200,7 @@ export default {
navigator.share(shareData)
},
addToShopping() {
this.modal_id = this.recipe.id + Math.round(Math.random() * 100000)
this.$bvModal.show(`shopping_${this.modal_id}`)
},
},