Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 1e1a2a3

Browse files
committed
Fix loading of store items
1 parent cfd91f8 commit 1e1a2a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/views/userPageVw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,8 @@ module.exports = baseVw.extend({
725725
var self = this,
726726
select = this.$el.find('.js-categories'),
727727
selectOptions = [],
728-
addressCountries = this.userModel.get('shipping_addresses').map(function(address){ return address.country }),
729-
userCountry = this.userModel.get('country');
728+
addressCountries = self.options.userModel.get('shipping_addresses').map(function(address){ return address.country }),
729+
userCountry = self.options.userModel.get('country');
730730

731731
addressCountries.push(userCountry);
732732
skipNSFWmodal = skipNSFWmodal || this.skipNSFWmodal;

0 commit comments

Comments
 (0)