Commit e17757c8 authored by Ad Schellevis's avatar Ad Schellevis

(systemhealth) show item name on title

parent 62e7fd28
......@@ -579,7 +579,9 @@ class SystemhealthController extends ApiControllerBase
return ["sets" => $data_sets_full,
"d3" => $result,
"title"=>$rrd_details["title"],
"title"=>$rrd_details["title"] != "" ?
$rrd_details["title"] . " | " . ucfirst($rrd_details['itemName']) :
ucfirst($rrd_details['itemName']),
"y-axis_label"=>$rrd_details["y-axis_label"]
]; // return details and d3 data
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment