mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-24 16:49:34 -05:00
TreeRenderer: Show the correct icon for monitored nodes at the root level
This commit is contained in:
parent
c73cd65f6f
commit
728d4cb2ae
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ class TreeRenderer extends Renderer
|
|||
public function getNodeIcons(Node $node, array $path = null)
|
||||
{
|
||||
$icons = [];
|
||||
if (empty($path)) {
|
||||
if (empty($path) && $node instanceof BpNode) {
|
||||
$icons[] = Html::tag('i', ['class' => 'icon icon-sitemap']);
|
||||
} else {
|
||||
$icons[] = $node->getIcon();
|
||||
|
|
|
|||
Loading…
Reference in a new issue