potential race condition here, hits is dependent on cards to get the card name in hits

This commit is contained in:
Lee Salminen 2022-08-29 09:33:28 -06:00
parent 88210129b7
commit a6cf19c29d

View file

@ -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()
}
}