File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
app/code/Magento/Checkout/Block Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,6 @@ public function process($jsLayout)
108
108
'country_id ' => $ this ->countryCollection ->loadByStore ()->toOptionArray (),
109
109
'region_id ' => $ this ->regionCollection ->addAllowedCountriesFilter ()->toOptionArray (),
110
110
];
111
- $ layoutdata = $ jsLayout ['components ' ]['checkoutProvider ' ]['dictionaries ' ]['country_id ' ];
112
- if (count ( $ layoutdata )==2 && $ layoutdata [0 ]['value ' ]=='' ){
113
- unset($ jsLayout ['components ' ]['checkoutProvider ' ]['dictionaries ' ]['country_id ' ][0 ] );
114
- }
115
111
}
116
112
117
113
if (isset ($ jsLayout ['components ' ]['block-summary ' ]['children ' ]['block-shipping ' ]['children ' ]
Original file line number Diff line number Diff line change @@ -77,10 +77,6 @@ public function process($jsLayout)
77
77
'country_id ' => $ this ->getCountryOptions (),
78
78
'region_id ' => $ this ->getRegionOptions (),
79
79
];
80
- $ layoutdata = $ jsLayout ['components ' ]['checkoutProvider ' ]['dictionaries ' ]['country_id ' ];
81
- if (count ( $ layoutdata )==2 && $ layoutdata [0 ]['value ' ]=='' ){
82
- unset($ jsLayout ['components ' ]['checkoutProvider ' ]['dictionaries ' ]['country_id ' ][0 ] );
83
- }
84
80
}
85
81
86
82
return $ jsLayout ;
You can’t perform that action at this time.
0 commit comments