IcingaServiceSetForm: hide empty descriptions
This commit is contained in:
parent
05a8918f07
commit
b6c0895d33
|
@ -62,9 +62,10 @@ class IcingaServiceSetForm extends DirectorObjectForm
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($object->get('imports'))) {
|
if (count($object->get('imports'))) {
|
||||||
$this->addHtmlHint(
|
$description = $object->getResolvedProperty('description');
|
||||||
$object->getResolvedProperty('description')
|
if ($description) {
|
||||||
);
|
$this->addHtmlHint($description);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->addHidden('object_type', 'object');
|
$this->addHidden('object_type', 'object');
|
||||||
|
|
Loading…
Reference in New Issue