File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/code/Magento/Customer/view/frontend/web/js Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,9 @@ define([
107
107
if ( _ . isEmpty ( storage . keys ( ) ) ) {
108
108
this . reload ( [ ] , false ) ;
109
109
} else if ( this . needReload ( ) ) {
110
+ _ . each ( dataProvider . getFromStorage ( storage . keys ( ) ) , function ( sectionData , sectionName ) {
111
+ buffer . notify ( sectionName , sectionData ) ;
112
+ } ) ;
110
113
this . reload ( this . getExpiredKeys ( ) , false ) ;
111
114
} else {
112
115
_ . each ( dataProvider . getFromStorage ( storage . keys ( ) ) , function ( sectionData , sectionName ) {
@@ -154,6 +157,7 @@ define([
154
157
set : function ( sectionName , sectionData ) {
155
158
var data = { } ;
156
159
data [ sectionName ] = sectionData ;
160
+ console . log ( sectionName ) ;
157
161
buffer . update ( data ) ;
158
162
} ,
159
163
reload : function ( sectionNames , updateSectionId ) {
You can’t perform that action at this time.
0 commit comments