parent
591ccd0378
commit
968754ec2e
|
@ -318,6 +318,11 @@ class NavigationRenderer implements RecursiveIterator, NavigationRendererInterfa
|
|||
$cssClasses[] = static::CSS_CLASS_ACTIVE;
|
||||
}
|
||||
|
||||
if ($item->getIcon() === null) {
|
||||
// @TODO(el): Add constant
|
||||
$cssClasses[] = 'no-icon';
|
||||
}
|
||||
|
||||
if ($cssClass = $item->getCssClass()) {
|
||||
$cssClasses[] = $cssClass;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue