mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-08-14 14:28:10 +02:00
IcingaServiceForm: show Override button also in...
...case all fields belong to categories fixes #2303
This commit is contained in:
parent
98b07b6dbe
commit
62a684b928
@ -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')]);
|
||||
|
@ -12,6 +12,7 @@ next (will be 1.8.1)
|
||||
[roadmap](https://github.com/Icinga/icingaweb2-module-director/milestone/24?closed=1)
|
||||
|
||||
### User Interface
|
||||
* FIX: show Override button when all Fields belong to Field Categories (#2303)
|
||||
* FIX: don't fail when showing a Host overriding multiple inherited groups (#2253)
|
||||
* FIX: deal with inherited values which are invalid for a select box (#2288)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user