mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
only show "latency" tab when there are rrds to be shown.
git-svn-id: http://www.observium.org/svn/observer/trunk@2738 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -126,7 +126,7 @@ if (device_permitted($vars['device']) || $check_device == $vars['device'])
|
||||
}
|
||||
}
|
||||
|
||||
if (count($smokeping_files))
|
||||
if (count($smokeping_files['in'][$device['hostname']]) || count($smokeping_files['out'][$device['hostname']]))
|
||||
{
|
||||
echo('<li class="' . $select['latency'] . '">
|
||||
<a href="'.generate_device_url($device, array('tab' => 'latency')).'">
|
||||
|
Reference in New Issue
Block a user