mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
Revert "NavigationItemRenderer: Provide a id if none is set"
This reverts commit c60839d798af23387438770055ac7efa60bfc7e7.
This commit is contained in:
parent
975cc92f6b
commit
2855778dc7
@ -160,10 +160,6 @@ class NavigationItemRenderer
|
|||||||
$label = $this->view()->icon($icon) . $label;
|
$label = $this->view()->icon($icon) . $label;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $item->getAttribute('id')) {
|
|
||||||
$item->setAttribute('id', $item->getUniqueName());
|
|
||||||
}
|
|
||||||
|
|
||||||
if (($url = $item->getUrl()) !== null) {
|
if (($url = $item->getUrl()) !== null) {
|
||||||
$content = sprintf(
|
$content = sprintf(
|
||||||
'<a%s href="%s"%s>%s</a>',
|
'<a%s href="%s"%s>%s</a>',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user