summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/account/AccountView.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-01-22 02:06:29 +0100
committerJules Laplace <julescarbon@gmail.com>2021-01-22 02:06:29 +0100
commitba87d556784a9c0444ec058b590d567f115c8fd2 (patch)
treeec3d8ebb50a7b55635ff2c4f2652e7c2af85470c /StoneIsland/platforms/ios/www/js/lib/account/AccountView.js
parent156de7d1875e0622a1d9d9493cb60be6858c5009 (diff)
build
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/account/AccountView.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/account/AccountView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/account/AccountView.js b/StoneIsland/platforms/ios/www/js/lib/account/AccountView.js
index af035f6a..a259e8a0 100755
--- a/StoneIsland/platforms/ios/www/js/lib/account/AccountView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/account/AccountView.js
@@ -81,7 +81,7 @@ var AccountView = View.extend({
}
else {
data.CreditCards.forEach(function(cc){
- this.ccLookup[cc.Id] = cc
+ this.ccLookup[cc.Id || cc.Guid] = cc
}.bind(this))
app.payment.populate( data.CreditCards[0] )
app.cart.payment.populate()