File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
app/code/Magento/Customer/view/frontend/web/js Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -202,8 +202,7 @@ define([
202
202
privateContent = $ . cookieStorage . get ( privateContentVersion ) ,
203
203
localPrivateContent = $ . localStorage . get ( privateContentVersion ) ,
204
204
needVersion = 'need_version' ,
205
- expiredSectionNames = this . getExpiredSectionNames ( ) ,
206
- isLoading = false ;
205
+ expiredSectionNames = this . getExpiredSectionNames ( ) ;
207
206
208
207
if ( privateContent &&
209
208
! $ . cookieStorage . isSet ( privateContentVersion ) &&
@@ -212,7 +211,6 @@ define([
212
211
$ . cookieStorage . set ( privateContentVersion , needVersion ) ;
213
212
$ . localStorage . set ( privateContentVersion , needVersion ) ;
214
213
this . reload ( [ ] , false ) ;
215
- isLoading = true ;
216
214
} else if ( localPrivateContent !== privateContent ) {
217
215
if ( ! $ . cookieStorage . isSet ( privateContentVersion ) ) {
218
216
privateContent = needVersion ;
@@ -223,7 +221,6 @@ define([
223
221
buffer . notify ( sectionName , sectionData ) ;
224
222
} ) ;
225
223
this . reload ( [ ] , false ) ;
226
- isLoading = true ;
227
224
} else if ( expiredSectionNames . length > 0 ) {
228
225
_ . each ( dataProvider . getFromStorage ( storage . keys ( ) ) , function ( sectionData , sectionName ) {
229
226
buffer . notify ( sectionName , sectionData ) ;
You can’t perform that action at this time.
0 commit comments