mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Less hacky dashboard activation
This commit is contained in:
parent
38a5939544
commit
3daf46097d
@ -123,9 +123,8 @@ class DashboardController extends ActionController
|
||||
if ($this->_getParam('pane')) {
|
||||
$pane = $this->_getParam('pane');
|
||||
$dashboard->activate($pane);
|
||||
} else {
|
||||
$dashboard->determineActivePane();
|
||||
}
|
||||
$this->view->title = $dashboard->getActivePane()->getTitle() . ' :: Dashboard';
|
||||
$this->view->tabs = $dashboard->getTabs();
|
||||
$this->view->tabs->add(
|
||||
'Add',
|
||||
|
Loading…
x
Reference in New Issue
Block a user