We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa9149 commit 5f73347Copy full SHA for 5f73347
app/code/Magento/Customer/view/frontend/web/js/customer-data.js
@@ -239,14 +239,6 @@ define([
239
this.reload(storageInvalidation.keys(), false);
240
}
241
242
-
243
- if (!_.isEmpty(privateContent)) {
244
- countryData = this.get('directory-data');
245
246
- if (_.isEmpty(countryData()) && !isLoading) {
247
- customerData.reload(['directory-data'], false);
248
- }
249
250
},
251
252
/**
@@ -332,6 +324,9 @@ define([
332
324
333
325
334
326
327
+ * Avoid using this function directly 'cause of possible performance drawbacks.
328
+ * Each customer section reload brings new non-cached ajax request
329
+ *
335
330
* @param {Array} sectionNames
336
331
* @param {Boolean} forceNewSectionTimestamp
337
* @return {*}
0 commit comments