mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-23 13:54:27 +02:00
ServiceController: set ServiceSet for new service
...added to a Set fixes #1097
This commit is contained in:
parent
15c26b97db
commit
71ab8b4663
@ -113,6 +113,10 @@ class ServiceController extends ObjectController
|
||||
|
||||
protected function onObjectFormLoaded(DirectorObjectForm $form)
|
||||
{
|
||||
if ($this->set) {
|
||||
/** @var IcingaServiceForm$form */
|
||||
$form->setServiceSet($this->set);
|
||||
}
|
||||
if ($this->object === null && $this->apply) {
|
||||
$form->createApplyRuleFor($this->apply);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user