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