Skip to content

Commit c2fd9b1

Browse files
committed
MC-17485: Catalog Product Attribute Set Name
1 parent 6023fc9 commit c2fd9b1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AttributeSet.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,13 @@ public function getOptions()
7878
\Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\Collection::SORT_ORDER_ASC
7979
);
8080

81-
return $collection->getData();
81+
$collectionData = $collection->getData();
82+
83+
array_walk($collectionData, function (&$attribute) {
84+
$attribute['__disableTmpl'] = true;
85+
});
86+
87+
return $collectionData;
8288
}
8389

8490
/**

0 commit comments

Comments
 (0)