#10194 fixed name empty in agents y monitoring
This commit is contained in:
parent
b8df74dace
commit
e7e27855a6
|
@ -241,6 +241,10 @@ class Agents extends Element
|
|||
$labels = [];
|
||||
$data = [];
|
||||
foreach ($rows as $key => $row) {
|
||||
if (empty($row['name']) === true) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$labels[] = $this->controlSizeText($row['name']);
|
||||
$data[] = $row['total'];
|
||||
}
|
||||
|
@ -279,6 +283,10 @@ class Agents extends Element
|
|||
$labels = [];
|
||||
$data = [];
|
||||
foreach ([] as $key => $row) {
|
||||
if (empty($row['alias']) === true) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$labels[] = $this->controlSizeText($row['alias']);
|
||||
$data[] = $row['status'];
|
||||
}
|
||||
|
|
|
@ -57,6 +57,10 @@ class MonitoringElements extends Element
|
|||
$labels = [];
|
||||
$data = [];
|
||||
foreach ($rows as $key => $row) {
|
||||
if (empty($row['name']) === true) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$labels[] = $this->controlSizeText($row['name']);
|
||||
$data[] = $row['total'];
|
||||
}
|
||||
|
@ -103,6 +107,10 @@ class MonitoringElements extends Element
|
|||
$labels = [];
|
||||
$data = [];
|
||||
foreach ($rows as $key => $row) {
|
||||
if (empty($row['name']) === true) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$labels[] = $this->controlSizeText($row['name']);
|
||||
$data[] = $row['total'];
|
||||
}
|
||||
|
@ -154,6 +162,10 @@ class MonitoringElements extends Element
|
|||
$labels = [];
|
||||
$data = [];
|
||||
foreach ($rows as $key => $row) {
|
||||
if (empty($row['nombre']) === true) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$labels[] = $this->controlSizeText($row['nombre']);
|
||||
$data[] = $row['total'];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue