potential race condition here, hits is dependent on cards to get the card name in hits
This commit is contained in:
parent
88210129b7
commit
a6cf19c29d
1 changed files with 3 additions and 1 deletions
|
|
@ -220,6 +220,9 @@ new Vue({
|
|||
return mapCards(obj)
|
||||
})
|
||||
})
|
||||
.then(function () {
|
||||
self.getHits()
|
||||
})
|
||||
},
|
||||
getHits: function () {
|
||||
var self = this
|
||||
|
|
@ -417,7 +420,6 @@ new Vue({
|
|||
created: function () {
|
||||
if (this.g.user.wallets.length) {
|
||||
this.getCards()
|
||||
this.getHits()
|
||||
this.getRefunds()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue