mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ServicesetController: no service access in branch
This commit is contained in:
parent
30f0d85158
commit
fc6f8740fb
@ -98,8 +98,10 @@ class ServicesetController extends ObjectController
|
|||||||
|
|
||||||
protected function addServiceSetTabs()
|
protected function addServiceSetTabs()
|
||||||
{
|
{
|
||||||
|
if ($this->branch->isBranch()) {
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
$tabs = $this->tabs();
|
$tabs = $this->tabs();
|
||||||
$name = $this->object->getObjectName();
|
|
||||||
$tabs->add('services', [
|
$tabs->add('services', [
|
||||||
'url' => 'director/serviceset/services',
|
'url' => 'director/serviceset/services',
|
||||||
'urlParams' => ['uuid' => $this->object->getUniqueId()],
|
'urlParams' => ['uuid' => $this->object->getUniqueId()],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user