mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 10:57:40 +02:00
DashboardsController: Adjust usage of Dashboard::getActivePane()
This commit is contained in:
parent
d0d7e4ebd1
commit
a527946306
@ -64,7 +64,7 @@ class DashboardsController extends CompatController
|
||||
} else {
|
||||
$pane = $this->getParam('pane');
|
||||
if (! $pane) {
|
||||
$pane = $this->dashboard->getActivePane()->getName();
|
||||
$pane = $activeHome->getActivePane($this->dashboard->getTabs())->getName();
|
||||
}
|
||||
|
||||
$this->dashboard->activate($pane);
|
||||
@ -93,7 +93,7 @@ class DashboardsController extends CompatController
|
||||
if ($activeHome->hasEntries()) {
|
||||
$pane = $this->getParam('pane');
|
||||
if (! $pane) {
|
||||
$pane = $this->dashboard->getActivePane()->getName();
|
||||
$pane = $activeHome->getActivePane($this->dashboard->getTabs())->getName();
|
||||
}
|
||||
|
||||
$this->dashboard->activate($pane);
|
||||
|
Loading…
x
Reference in New Issue
Block a user