File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class ProjectToolBar extends React.Component {
7373 }
7474
7575 onDashboardLeave ( ) {
76- if ( this . state . activePage === 'dashboard' ) { window . location . reload ( ) }
76+ if ( this . state . activePage === 'dashboard' ) { return }
7777 this . setState ( {
7878 activeDashboard : 'not-active'
7979 } )
@@ -87,7 +87,7 @@ class ProjectToolBar extends React.Component {
8787 }
8888
8989 onSpecificationLeave ( ) {
90- if ( this . state . activePage === 'specification' ) { window . location . reload ( ) }
90+ if ( this . state . activePage === 'specification' ) { return }
9191 this . setState ( {
9292 activeSpecification : 'not-active'
9393 } )
@@ -101,7 +101,7 @@ class ProjectToolBar extends React.Component {
101101 }
102102
103103 onMessagesLeave ( ) {
104- if ( this . state . activePage === 'discussions' ) { window . location . reload ( ) }
104+ if ( this . state . activePage === 'discussions' ) { return }
105105 this . setState ( {
106106 activeMessages : 'not-active'
107107 } )
You can’t perform that action at this time.
0 commit comments