mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
Group members: hosts only for now
This commit is contained in:
parent
2691081349
commit
1e531bef1b
@ -93,7 +93,8 @@ class ObjectTabs extends Tabs
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($object->isGroup()) {
|
// TODO: remove table check once we resolve all group types
|
||||||
|
if ($object->isGroup() && $object->getShortTableName() === 'hostgroup') {
|
||||||
$this->add('membership', [
|
$this->add('membership', [
|
||||||
'url' => sprintf('director/%s/membership', $type),
|
'url' => sprintf('director/%s/membership', $type),
|
||||||
'urlParams' => $params,
|
'urlParams' => $params,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user