mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
Show custom dashlet in case no dashlets are selected.
This commit is contained in:
parent
abb78bb9ee
commit
f91e2769fb
@ -156,7 +156,7 @@ class SetupNewDashboardForm extends BaseDashboardForm
|
||||
*/
|
||||
protected function assembleNexPageDashletPart()
|
||||
{
|
||||
if ($this->getPopulatedValue('custom_url') === 'y' && ! $this->isUpdating()) {
|
||||
if (empty($this->moduleDashlets) || $this->getPopulatedValue('custom_url') === 'y' && ! $this->isUpdating()) {
|
||||
$this->addHtml(HtmlElement::create('hr'));
|
||||
$this->assembleDashletElements();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user