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)
|
return mapCards(obj)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
.then(function () {
|
||||||
|
self.getHits()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
getHits: function () {
|
getHits: function () {
|
||||||
var self = this
|
var self = this
|
||||||
|
|
@ -417,7 +420,6 @@ new Vue({
|
||||||
created: function () {
|
created: function () {
|
||||||
if (this.g.user.wallets.length) {
|
if (this.g.user.wallets.length) {
|
||||||
this.getCards()
|
this.getCards()
|
||||||
this.getHits()
|
|
||||||
this.getRefunds()
|
this.getRefunds()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue