Actual fix

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-02-08 10:45:04 -05: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 = () => {