mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
DeshletForm: Don't re-populate dashboard pane element
This commit is contained in:
parent
77a4643e25
commit
f1bef3c52c
@ -285,9 +285,5 @@ class DashletForm extends BaseDashboardForm
|
|||||||
'dashlet' => $dashlet->getTitle(),
|
'dashlet' => $dashlet->getTitle(),
|
||||||
'url' => $dashlet->getUrl()->getRelativeUrl()
|
'url' => $dashlet->getUrl()->getRelativeUrl()
|
||||||
));
|
));
|
||||||
|
|
||||||
if ($this->getPopulatedValue('pane') !== self::CREATE_NEW_PANE) {
|
|
||||||
$this->populate(['pane' => $dashlet->getPane()->getTitle()]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user