mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
IcingaServiceForm: relax checks for existing ones
This commit is contained in:
parent
e803385673
commit
c02540dfaa
@ -48,7 +48,7 @@ class IcingaServiceForm extends DirectorObjectForm
|
|||||||
$this->addHidden('object_type', 'object');
|
$this->addHidden('object_type', 'object');
|
||||||
$this->addImportsElement();
|
$this->addImportsElement();
|
||||||
$imports = $this->getSentOrObjectValue('imports');
|
$imports = $this->getSentOrObjectValue('imports');
|
||||||
if (empty($imports)) {
|
if ($this->isNew() && empty($imports)) {
|
||||||
return $this->groupMainProperties();
|
return $this->groupMainProperties();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user