mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +02:00
IcingaService: Fix getOnDeleteUrl() for service sets
So that it redirects back to services of this serviceset.
This commit is contained in:
parent
b9c5f94589
commit
d2c00c5d39
@ -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