fix refresh of requested wines
This commit is contained in:
@@ -25,6 +25,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async refreshData(){
|
async refreshData(){
|
||||||
|
this.wines = []
|
||||||
const wines = await allRequestedWines()
|
const wines = await allRequestedWines()
|
||||||
this.wines = wines
|
this.wines = wines
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -100,7 +100,6 @@ export default {
|
|||||||
.then(() => this.showModal = true)
|
.then(() => this.showModal = true)
|
||||||
},
|
},
|
||||||
emitFromModalButton(action){
|
emitFromModalButton(action){
|
||||||
console.log(action)
|
|
||||||
if(action == "stay"){
|
if(action == "stay"){
|
||||||
this.showModal = false
|
this.showModal = false
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user