File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
client/modules/IDE/components Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -500,7 +500,10 @@ class Editor extends React.Component {
500
500
< button
501
501
aria-label = { this . props . t ( 'Editor.OpenSketchARIA' ) }
502
502
className = "sidebar__contract"
503
- onClick = { this . props . collapseSidebar }
503
+ onClick = { ( ) => {
504
+ this . props . collapseSidebar ( ) ;
505
+ this . props . closeProjectOptions ( ) ;
506
+ } }
504
507
>
505
508
< LeftArrowIcon focusable = "false" aria-hidden = "true" />
506
509
</ button >
@@ -588,6 +591,7 @@ Editor.propTypes = {
588
591
) . isRequired ,
589
592
isExpanded : PropTypes . bool . isRequired ,
590
593
collapseSidebar : PropTypes . func . isRequired ,
594
+ closeProjectOptions : PropTypes . func . isRequired ,
591
595
expandSidebar : PropTypes . func . isRequired ,
592
596
clearConsole : PropTypes . func . isRequired ,
593
597
hideRuntimeErrorWarning : PropTypes . func . isRequired ,
You can’t perform that action at this time.
0 commit comments