Skip to content

Commit 7f4196d

Browse files
author
developer19
committed
Merge branch 'fix-countries-dropdown-spaceissue' into 2.1-develop
2 parents ccd70ce + f842710 commit 7f4196d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

app/code/Magento/Checkout/Block/Cart/LayoutProcessor.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ public function process($jsLayout)
108108
'country_id' => $this->countryCollection->loadByStore()->toOptionArray(),
109109
'region_id' => $this->regionCollection->addAllowedCountriesFilter()->toOptionArray(),
110110
];
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-
}
115111
}
116112

117113
if (isset($jsLayout['components']['block-summary']['children']['block-shipping']['children']

app/code/Magento/Checkout/Block/Checkout/DirectoryDataProcessor.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ public function process($jsLayout)
7777
'country_id' => $this->getCountryOptions(),
7878
'region_id' => $this->getRegionOptions(),
7979
];
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-
}
8480
}
8581

8682
return $jsLayout;

0 commit comments

Comments
 (0)