Skip to content

Commit 4ae59e0

Browse files
MAGETWO-94406: [2.3.0] "Directory Data" and "Cart" sections are loaded twice after user logged in
- Updated customer data reload
1 parent 8009741 commit 4ae59e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Customer/view/frontend/web/js/customer-data.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ define([
331331
*/
332332
reload: function (sectionNames, updateSectionId) {
333333
return dataProvider.getFromServer(sectionNames, updateSectionId).done(function (sections) {
334+
$(document).trigger('customer-data-reload', [sectionNames]);
334335
buffer.update(sections);
335336
});
336337
},

0 commit comments

Comments
 (0)