mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
IcingaServiceForm: show Override button also in...
...case all fields belong to categories fixes #2303
This commit is contained in:
parent
0664da8f12
commit
29097463be
@ -139,6 +139,14 @@ class IcingaServiceForm extends DirectorObjectForm
|
||||
} else {
|
||||
$this->addOverrideHint();
|
||||
$group = $this->getDisplayGroup('custom_fields');
|
||||
if (! $group) {
|
||||
foreach ($this->getDisplayGroups() as $groupName => $eventualGroup) {
|
||||
if (preg_match('/^custom_fields:/', $groupName)) {
|
||||
$group = $eventualGroup;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($group) {
|
||||
$elements = $group->getElements();
|
||||
$group->setElements([$this->getElement('inheritance_hint')]);
|
||||
|
@ -16,6 +16,7 @@ next (will be 1.9.0)
|
||||
|
||||
### User Interface
|
||||
* FIX: allow switching DB config while connection is failing (#2300)
|
||||
* FIX: show Override button when all Fields belong to Field Categories (#2303)
|
||||
|
||||
next patch release (will be 1.8.1)
|
||||
----------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user