remove unused code and fix or check

This commit is contained in:
Adrian Thompson
2020-09-07 16:22:59 +02:00
parent 2406d2b81a
commit 2764972abd
3 changed files with 1 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ export default {
this.wines = this.wines.filter(item => item.wine._id !== wine._id)
},
async refreshData(){
[this.wines, this.isAdmin] = await allRequestedWines() || []
[this.wines, this.isAdmin] = await allRequestedWines() || [[], false]
}
},
mounted() {