mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Actual fix
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
e68aa43913
commit
56e7a54b18
@ -63,7 +63,7 @@ class NonInjectedSidebarItem extends React.Component<SidebarItemProps & Dependen
|
||||
}
|
||||
|
||||
@computed get isExpandable(): boolean {
|
||||
return Boolean(this.props.children);
|
||||
return React.Children.count(this.props.children) > 0;
|
||||
}
|
||||
|
||||
toggleExpand = () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user