Skip to content

Commit e965725

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

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
@@ -393,7 +393,7 @@ protected function _getNodeJson($node, $level = 0)
393393
$item['store'] = (int)$this->getStore()->getId();
394394
$item['path'] = $node->getData('path');
395395
if(!$node->getIsActive()){
396-
$item['li_attr'] = ['class' => 'disabled-category'];
396+
$item['a_attr'] = ['class' => 'disabled-category'];
397397
}
398398
$item['cls'] = 'folder ' . ($node->getIsActive() ? 'active-category' : 'no-active-category');
399399
//$item['allowDrop'] = ($level<3) ? true : false;

0 commit comments

Comments
 (0)