Commit a4e6855e authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(systemhealth) show item name on title

(cherry picked from commit e17757c8)
parent a0def7f8
......@@ -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