mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix some graphs not respecting device display name (#14684)
Just a quick fix
This commit is contained in:
@@ -17,7 +17,7 @@ foreach ($duration_list as $duration) {
|
||||
$graph_array['duration'] = $duration['duration'];
|
||||
|
||||
$human_duration = \LibreNMS\Util\Time::humanTime($duration['duration']);
|
||||
$graph_title = $device['hostname'] . ' - ' . $human_duration;
|
||||
$graph_title = DeviceCache::get($device['device_id'])->displayName() . ' - ' . $human_duration;
|
||||
|
||||
echo "<div class='panel panel-default'>
|
||||
<div class='panel-heading'>
|
||||
|
Reference in New Issue
Block a user