Skip to content

Commit f3f6d79

Browse files
committed
ACP2E-3350: Disabled Categories are no longer have their names grayed out in the category tree
1 parent e965725 commit f3f6d79

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Block/Adminhtml/Category

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ protected function _getNodeJson($node, $level = 0)
392392
$item['id'] = $node->getId();
393393
$item['store'] = (int)$this->getStore()->getId();
394394
$item['path'] = $node->getData('path');
395-
if(!$node->getIsActive()){
395+
if (!$node->getIsActive()) {
396396
$item['a_attr'] = ['class' => 'disabled-category'];
397397
}
398398
$item['cls'] = 'folder ' . ($node->getIsActive() ? 'active-category' : 'no-active-category');

0 commit comments

Comments
 (0)