mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Navigation: show section toggle if there are any react children (#60336)
show section toggle if there are children
This commit is contained in:
@@ -56,7 +56,7 @@ export function NavBarMenuSection({
|
||||
{getNavTitle(link.id) ?? link.text}
|
||||
</div>
|
||||
</NavBarMenuItem>
|
||||
{Boolean(link.children?.length) && (
|
||||
{children && (
|
||||
<Button
|
||||
aria-label={`${sectionExpanded ? 'Collapse' : 'Expand'} section`}
|
||||
variant="secondary"
|
||||
|
||||
Reference in New Issue
Block a user