ServicesetController: no service access in branch

This commit is contained in:
Thomas Gelf 2022-02-06 13:43:20 +01:00
parent 30f0d85158
commit fc6f8740fb

View File

@ -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()],