fix availability widget device totals (#13043)

This commit is contained in:
rhinoau
2021-07-15 22:52:00 +08:00
committed by GitHub
parent 1746d04742
commit fb6da83ec0

View File

@@ -139,7 +139,7 @@ class AvailabilityMapController extends WidgetController
$data[] = $row;
}
return [$data, ['warn' => 0, 'up' => 0, 'down' => 0, 'maintenance' => 0, 'ignored' => 0, 'disabled' => 0]];
return [$data, $totals];
}
private function getServices($request)