mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
Tabs: Merge the action's params into the current request url's params
This commit is contained in:
parent
68be11b929
commit
ba4dd255ec
@ -309,13 +309,14 @@ EOT;
|
||||
|
||||
private function renderRefreshTab()
|
||||
{
|
||||
$url = Url::fromRequest()->without('renderLayout');
|
||||
$tab = $this->get($this->getActiveName());
|
||||
|
||||
if ($tab !== null) {
|
||||
$url = Url::fromRequest($tab->getUrl()->getParams()->toArray(false))->without('renderLayout');
|
||||
$label = $this->view()->escape(
|
||||
$tab->getLabel()
|
||||
);
|
||||
} else {
|
||||
$url = Url::fromRequest()->without('renderLayout');
|
||||
}
|
||||
|
||||
if (! empty($label)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user