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 {
501501 < button
502502 aria-label = { this . props . t ( 'Editor.OpenSketchARIA' ) }
503503 className = "sidebar__contract"
504- onClick = { this . props . collapseSidebar }
504+ onClick = { ( ) => {
505+ this . props . collapseSidebar ( ) ;
506+ this . props . closeProjectOptions ( ) ;
507+ } }
505508 >
506509 < LeftArrowIcon focusable = "false" aria-hidden = "true" />
507510 </ button >
@@ -589,6 +592,7 @@ Editor.propTypes = {
589592 ) . isRequired ,
590593 isExpanded : PropTypes . bool . isRequired ,
591594 collapseSidebar : PropTypes . func . isRequired ,
595+ closeProjectOptions : PropTypes . func . isRequired ,
592596 expandSidebar : PropTypes . func . isRequired ,
593597 clearConsole : PropTypes . func . isRequired ,
594598 hideRuntimeErrorWarning : PropTypes . func . isRequired ,
You can’t perform that action at this time.
0 commit comments