mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
allow sidemenu sections without children still have a hover menu/header
This commit is contained in:
parent
80d62013b2
commit
30c2cc4b5c
@ -15,7 +15,7 @@ const TopSectionItem: SFC<Props> = props => {
|
||||
{link.img && <img src={link.img} />}
|
||||
</span>
|
||||
</a>
|
||||
{link.children && <SideMenuDropDown link={link} />}
|
||||
<SideMenuDropDown link={link} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
@ -13,5 +13,8 @@ exports[`Render should render component 1`] = `
|
||||
<i />
|
||||
</span>
|
||||
</a>
|
||||
<SideMenuDropDown
|
||||
link={Object {}}
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user