mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
parent
bf2cb9ab7e
commit
ee43fdad0a
@ -47,4 +47,17 @@ class DashboardPane extends NavigationItem
|
|||||||
{
|
{
|
||||||
$this->setUrl(Url::fromPath('dashboard', array('pane' => $this->getName())));
|
$this->setUrl(Url::fromPath('dashboard', array('pane' => $this->getName())));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function merge(NavigationItem $item)
|
||||||
|
{
|
||||||
|
parent::merge($item);
|
||||||
|
|
||||||
|
$this->setDashlets(array_merge(
|
||||||
|
$this->getDashlets(),
|
||||||
|
$item->getDashlets()
|
||||||
|
));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user