Skip to content

Commit 16bdff1

Browse files
committed
MAGETWO-97046: Incorrect rendering
1 parent 53af252 commit 16bdff1

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

app/code/Magento/Customer/Ui/Component/ColumnFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function __construct(
6060
*/
6161
public function create(array $attributeData, $columnName, $context, array $config = [])
6262
{
63+
// @codingStandardsIgnoreStart
6364
$config = array_merge([
6465
'label' => __($attributeData[AttributeMetadata::FRONTEND_LABEL]),
6566
'dataType' => $this->getDataType($attributeData[AttributeMetadata::FRONTEND_INPUT]),
@@ -68,6 +69,7 @@ public function create(array $attributeData, $columnName, $context, array $confi
6869
'component' => $this->getJsComponent($this->getDataType($attributeData[AttributeMetadata::FRONTEND_INPUT])),
6970
'__disableTmpl' => 'true',
7071
], $config);
72+
// @codingStandardsIgnoreEnd
7173
if ($attributeData[AttributeMetadata::FRONTEND_INPUT] == 'date') {
7274
$config['dateFormat'] = 'MMM d, y';
7375
$config['timezone'] = false;

app/code/Magento/Customer/Ui/Component/FilterFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ public function __construct(\Magento\Framework\View\Element\UiComponentFactory $
4545
*/
4646
public function create(array $attributeData, $context)
4747
{
48+
// @codingStandardsIgnoreStart
4849
$config = [
4950
'dataScope' => $attributeData[AttributeMetadata::ATTRIBUTE_CODE],
5051
'label' => __($attributeData[AttributeMetadata::FRONTEND_LABEL]),
5152
'__disableTmpl' => 'true',
5253
];
54+
// @codingStandardsIgnoreEnd
5355
if ($attributeData[AttributeMetadata::OPTIONS]) {
5456
$config['options'] = $attributeData[AttributeMetadata::OPTIONS];
5557
$config['caption'] = __('Select...');

app/code/Magento/Customer/Ui/Component/Listing/AttributeRepository.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ protected function getOptionArray(array $options)
141141
return $options;
142142
}
143143

144-
145144
/**
146145
* Return customer group's metadata by given group code.
147146
*

0 commit comments

Comments
 (0)