mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Miscellaneous fixes (#15162)
This commit is contained in:
@@ -66,10 +66,7 @@ $type_text = [
|
||||
|
||||
$active_metric = basename($vars['metric'] ?? 'processor');
|
||||
|
||||
if (! $vars['view']) {
|
||||
$vars['view'] = 'detail';
|
||||
}
|
||||
|
||||
$vars['view'] = $vars['view'] ?? 'detail';
|
||||
$link_array = ['page' => 'health'];
|
||||
|
||||
$navbar = '<span style="font-weight: bold;">Health</span> » ';
|
||||
@@ -88,6 +85,7 @@ foreach ($datas as $texttype) {
|
||||
}
|
||||
unset($sep);
|
||||
|
||||
$displayoptions = '';
|
||||
if ($vars['view'] == 'graphs') {
|
||||
$displayoptions = '<span class="pagemenu-selected">';
|
||||
}
|
||||
|
Reference in New Issue
Block a user