summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/AccountView.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-01-22 02:06:23 +0100
committerJules Laplace <julescarbon@gmail.com>2021-01-22 02:06:23 +0100
commit156de7d1875e0622a1d9d9493cb60be6858c5009 (patch)
tree4db85263c12889b684eea58050d86db44f9df826 /StoneIsland/www/js/lib/account/AccountView.js
parent44c3c894e031f950303725abaafbb70a5f0d2654 (diff)
v1.5.0 fixing cart issues
Diffstat (limited to 'StoneIsland/www/js/lib/account/AccountView.js')
-rwxr-xr-xStoneIsland/www/js/lib/account/AccountView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/account/AccountView.js b/StoneIsland/www/js/lib/account/AccountView.js
index af035f6a..a259e8a0 100755
--- a/StoneIsland/www/js/lib/account/AccountView.js
+++ b/StoneIsland/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()