mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
DowntimeDetail: Build the remove URL in a more standardized way
This commit is contained in:
parent
86a0c1e544
commit
c0e8f33027
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class DowntimeDetail extends BaseHtmlElement
|
|||
protected function createCancelDowntimeForm()
|
||||
{
|
||||
$action = Links::downtimesDelete();
|
||||
$action->setParam('name', $this->downtime->name);
|
||||
$action->setQueryString(QueryString::render(Filter::equal('name', $this->downtime->name)));
|
||||
|
||||
return (new DeleteDowntimeForm())
|
||||
->setObjects([$this->downtime])
|
||||
|
|
|
|||
Loading…
Reference in a new issue