mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 09:14:08 +02:00
MonitoredObjectController: history only if available
This commit is contained in:
parent
7f22afbc21
commit
5bb3165da3
@ -212,6 +212,7 @@ abstract class MonitoredObjectController extends Controller
|
||||
'urlParams' => $params
|
||||
)
|
||||
);
|
||||
if ($this->backend->hasQuery('eventHistory')) {
|
||||
$tabs->add(
|
||||
'history',
|
||||
array(
|
||||
@ -221,6 +222,7 @@ abstract class MonitoredObjectController extends Controller
|
||||
'urlParams' => $params
|
||||
)
|
||||
);
|
||||
}
|
||||
$tabs
|
||||
->extend(new OutputFormat())
|
||||
->extend(new DashboardAction());
|
||||
|
Loading…
x
Reference in New Issue
Block a user