File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Checkout/view/frontend/web/js/view Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,8 @@ define([
103
103
} ) ;
104
104
105
105
if (
106
- ( cartData ( ) . website_id !== window . checkout . websiteId &&
107
- cartData ( ) . website_id !== undefined )
108
- ||
109
- ( cartData ( ) . storeId !== window . checkout . storeId &&
110
- cartData ( ) . storeId !== undefined )
106
+ ( cartData ( ) . website_id !== window . checkout . websiteId && cartData ( ) . website_id !== undefined ) ||
107
+ ( cartData ( ) . storeId !== window . checkout . storeId && cartData ( ) . storeId !== undefined )
111
108
) {
112
109
customerData . reload ( [ 'cart' ] , false ) ;
113
110
}
Original file line number Diff line number Diff line change 1
1
<?php
2
-
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
3
6
namespace Magento \Customer \Block ;
4
7
5
8
use Magento \Customer \CustomerData \SectionPool ;
Original file line number Diff line number Diff line change @@ -320,9 +320,8 @@ define([
320
320
var sectionDataIds ,
321
321
sectionsNamesForInvalidation ;
322
322
323
- sectionsNamesForInvalidation = _ . contains ( sectionNames , '*' )
324
- ? sectionConfig . getSectionNames ( )
325
- : sectionNames ;
323
+ sectionsNamesForInvalidation = _ . contains ( sectionNames , '*' ) ? sectionConfig . getSectionNames ( ) :
324
+ sectionNames ;
326
325
327
326
$ ( document ) . trigger ( 'customer-data-invalidate' , [ sectionsNamesForInvalidation ] ) ;
328
327
buffer . remove ( sectionsNamesForInvalidation ) ;
You can’t perform that action at this time.
0 commit comments