fix refresh of requested wines

This commit is contained in:
Adrian Thompson
2020-09-01 12:30:50 +02:00
parent 99df5bb8c1
commit 88e42cb87a
2 changed files with 1 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ export default {
},
methods: {
async refreshData(){
this.wines = []
const wines = await allRequestedWines()
this.wines = wines
}

View File

@@ -100,7 +100,6 @@ export default {
.then(() => this.showModal = true)
},
emitFromModalButton(action){
console.log(action)
if(action == "stay"){
this.showModal = false
} else {