mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-04 01:09:25 -05:00
parent
0c395cc005
commit
5cbd46b6e3
2 changed files with 3 additions and 2 deletions
|
|
@ -42,6 +42,7 @@ class NodeController extends Controller
|
|||
$config->applySimulation($simulation);
|
||||
|
||||
foreach ($config->getNode($name)->getPaths() as $path) {
|
||||
array_pop($path);
|
||||
$node = array_pop($path);
|
||||
$renderer = new TileRenderer($config, $config->getNode($node));
|
||||
$renderer->setUrl(
|
||||
|
|
|
|||
|
|
@ -331,11 +331,11 @@ abstract class Node
|
|||
$paths = array();
|
||||
foreach ($this->parents as $parent) {
|
||||
foreach ($parent->getPaths() as $path) {
|
||||
// $path[] = $this->getName();
|
||||
$path[] = $this->getName();
|
||||
$paths[] = $path;
|
||||
}
|
||||
}
|
||||
// TODO! -> for delete etc
|
||||
|
||||
return $paths;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue