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 @@ -501,7 +501,10 @@ class Editor extends React.Component {
501
501
< button
502
502
aria-label = { this . props . t ( 'Editor.OpenSketchARIA' ) }
503
503
className = "sidebar__contract"
504
- onClick = { this . props . collapseSidebar }
504
+ onClick = { ( ) => {
505
+ this . props . collapseSidebar ( ) ;
506
+ this . props . closeProjectOptions ( ) ;
507
+ } }
505
508
>
506
509
< LeftArrowIcon focusable = "false" aria-hidden = "true" />
507
510
</ button >
@@ -589,6 +592,7 @@ Editor.propTypes = {
589
592
) . isRequired ,
590
593
isExpanded : PropTypes . bool . isRequired ,
591
594
collapseSidebar : PropTypes . func . isRequired ,
595
+ closeProjectOptions : PropTypes . func . isRequired ,
592
596
expandSidebar : PropTypes . func . isRequired ,
593
597
clearConsole : PropTypes . func . isRequired ,
594
598
hideRuntimeErrorWarning : PropTypes . func . isRequired ,
You can’t perform that action at this time.
0 commit comments