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