mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
Added membership tab to servicegroups now the prerequisites are available for this functionality
This commit is contained in:
parent
fcd4125d71
commit
9b0d4b4d84
@ -105,7 +105,7 @@ class ObjectTabs extends Tabs
|
||||
}
|
||||
|
||||
// TODO: remove table check once we resolve all group types
|
||||
if ($object->isGroup() && $object->getShortTableName() === 'hostgroup') {
|
||||
if ($object->isGroup() && ($object->getShortTableName() === 'hostgroup' || $object->getShortTableName() === 'servicegroup')) {
|
||||
$this->add('membership', [
|
||||
'url' => sprintf('director/%s/membership', $type),
|
||||
'urlParams' => $params,
|
||||
|
Loading…
x
Reference in New Issue
Block a user