Desktop: Regression: Sidebar toggle button did not work anymore

This commit is contained in:
Laurent Cozic
2020-09-29 14:26:05 +01:00
parent 485921d879
commit d29c3c2466

View File

@@ -54,7 +54,7 @@ function ExpandIcon(props:any) {
function ExpandLink(props:any) {
return props.hasChildren ? (
<StyledExpandLink href="#" data-folder-id={props.folderId} onClick={props.onFolderToggleClick_}>
<StyledExpandLink href="#" data-folder-id={props.folderId} onClick={props.onClick}>
<ExpandIcon themeId={props.themeId} isVisible={true} isExpanded={props.isExpanded}/>
</StyledExpandLink>
) : (