mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
ServicesetController: stringify uuid once
This commit is contained in:
parent
dd85c2ee35
commit
3c7c7bc61a
@ -101,14 +101,15 @@ class ServicesetController extends ObjectController
|
||||
if ($this->branch->isBranch()) {
|
||||
return $this;
|
||||
}
|
||||
$hexUuid = $this->object->getUniqueId()->toString();
|
||||
$tabs = $this->tabs();
|
||||
$tabs->add('services', [
|
||||
'url' => 'director/serviceset/services',
|
||||
'urlParams' => ['uuid' => $this->object->getUniqueId()],
|
||||
'urlParams' => ['uuid' => $hexUuid],
|
||||
'label' => 'Services'
|
||||
])->add('hosts', [
|
||||
'url' => 'director/serviceset/hosts',
|
||||
'urlParams' => ['uuid' => $this->object->getUniqueId()],
|
||||
'urlParams' => ['uuid' => $hexUuid],
|
||||
'label' => 'Hosts'
|
||||
]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user