mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
Merge pull request #1773 from Icinga/fix/serviceset-service-delete-redirect
IcingaService: Fix getOnDeleteUrl() for service sets
This commit is contained in:
commit
6d2028706e
@ -596,6 +596,8 @@ class IcingaService extends IcingaObject implements ExportInterface
|
||||
{
|
||||
if ($this->get('host_id')) {
|
||||
return 'director/host/services?name=' . rawurlencode($this->get('host'));
|
||||
} elseif ($this->get('service_set_id')) {
|
||||
return 'director/serviceset/services?name=' . rawurlencode($this->get('service_set'));
|
||||
} else {
|
||||
return parent::getOnDeleteUrl();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user