From 156de7d1875e0622a1d9d9493cb60be6858c5009 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 22 Jan 2021 02:06:23 +0100 Subject: v1.5.0 fixing cart issues --- StoneIsland/www/js/lib/account/AccountView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'StoneIsland/www/js/lib/account/AccountView.js') 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() -- cgit v1.2.3-70-g09d2