mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-08 14:39:33 -05:00
Merge pull request #280 from Icinga/fix/delete-node-rendering
Fix tile rendering for Bp nodes with unconfirmed deleted monitored nodes
This commit is contained in:
commit
5037d8fea0
1 changed files with 0 additions and 2 deletions
|
|
@ -62,7 +62,6 @@ class NodeRemoveAction extends NodeAction
|
|||
*/
|
||||
public function applyTo(BpConfig $config)
|
||||
{
|
||||
$config->calculateAllStates();
|
||||
$name = $this->getNodeName();
|
||||
$parentName = $this->getParentName();
|
||||
if ($parentName === null) {
|
||||
|
|
@ -81,7 +80,6 @@ class NodeRemoveAction extends NodeAction
|
|||
} else {
|
||||
$node = $config->getNode($name);
|
||||
$parent = $config->getBpNode($parentName);
|
||||
$parent->getState();
|
||||
$parent->removeChild($name);
|
||||
$node->removeParent($parentName);
|
||||
if (! $node->hasParents()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue