Skip to content

Commit 4a7dd58

Browse files
author
Ievgen Shakhsuvarov
committed
MAGETWO-44092: Inputted data from first checkout step is not pre-filled in shopping cart estimator
1 parent 96f2f8c commit 4a7dd58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ define([
107107
if (_.isEmpty(storage.keys())) {
108108
this.reload([], false);
109109
} else if (this.needReload()) {
110+
_.each(dataProvider.getFromStorage(storage.keys()), function (sectionData, sectionName) {
111+
buffer.notify(sectionName, sectionData);
112+
});
110113
this.reload(this.getExpiredKeys(), false);
111114
} else {
112115
_.each(dataProvider.getFromStorage(storage.keys()), function (sectionData, sectionName) {
@@ -154,6 +157,7 @@ define([
154157
set: function (sectionName, sectionData) {
155158
var data = {};
156159
data[sectionName] = sectionData;
160+
console.log(sectionName);
157161
buffer.update(data);
158162
},
159163
reload: function (sectionNames, updateSectionId) {

0 commit comments

Comments
 (0)