mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
e68aa43913
commit
56e7a54b18
1 file changed
+1
-1
@@ -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 = () => {
|
||||
|
||||
Reference in new issue
Block a user