Skip to content

Commit

Permalink
Fix icons in tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan-Aleev committed Aug 15, 2024
1 parent 482c68d commit 14d21a1
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ function getNodeIcon($elementIdentifier = '')
$defaults = [
'template' => 'icon icon-columns',
'chunk' => 'icon icon-th-large',
'tv' => 'icon icon-asterisk',
'tv' => 'icon icon-list-alt',
'snippet' => 'icon icon-code',
'plugin' => 'icon icon-cog',
'plugin' => 'icon icon-cogs',
'category' => 'icon icon-folder',
'propertyset' => 'icon icon-sitemap',
];
Expand Down Expand Up @@ -233,7 +233,6 @@ public function getPropertySetNode()
'href' => '',
'pk' => $el->get('id'),
'qtip' => "<i>{$alias}</i>: <b>{$el->get('name')}</b>" . ($el->get('description') != '' ? ' - ' . $el->get('description') : ''),
'cls' => 'icon-' . strtolower($alias),
'iconCls' => $this->getNodeIcon($alias),
'propertyset' => $el->get('property_set'),
'element_class' => $class,
Expand Down Expand Up @@ -267,4 +266,3 @@ public function process()
return $this->toJSON($list);
}
}

0 comments on commit 14d21a1

Please sign in to comment.