mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-06-08 16:22:05 -04:00
GridRenderer::assembleVisual(): Fix visual link
- Don't show all objct if the group is emplty
This commit is contained in:
parent
2b060a4f2a
commit
20d74a685f
2 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ class HostgroupGridRenderer implements ItemRenderer
|
|||
} else {
|
||||
$link = new Link(
|
||||
new StateBadge(0, 'none'),
|
||||
$url,
|
||||
Links::hostgroup($item),
|
||||
[
|
||||
'title' => sprintf(
|
||||
$this->translate('There are no hosts in host group "%s"'),
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ class ServicegroupGridRenderer implements ItemRenderer
|
|||
} else {
|
||||
$link = new Link(
|
||||
new StateBadge(0, 'none'),
|
||||
$url,
|
||||
Links::servicegroup($item),
|
||||
[
|
||||
'title' => sprintf(
|
||||
$this->translate('There are no services in service group "%s"'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue