mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-05 05:09:34 -05:00
BPNode: Ignore node children states in state badges
This commit is contained in:
parent
2d299f73b9
commit
d325844b90
1 changed files with 1 additions and 6 deletions
|
|
@ -65,12 +65,7 @@ class BpNode extends Node
|
|||
$this->counters = self::$emptyStateSummary;
|
||||
|
||||
foreach ($this->getChildren() as $child) {
|
||||
if ($child instanceof BpNode) {
|
||||
$counters = $child->getStateSummary();
|
||||
foreach ($counters as $k => $v) {
|
||||
$this->counters[$k] += $v;
|
||||
}
|
||||
} elseif ($child->isMissing()) {
|
||||
if ($child->isMissing()) {
|
||||
$this->counters['MISSING']++;
|
||||
} else {
|
||||
$state = $child->getStateName($this->getChildState($child));
|
||||
|
|
|
|||
Loading…
Reference in a new issue