Skip to content

Commit 8719188

Browse files
author
Vikas Agarwal
committed
Github issue#1234, Functions of the "Connect Logo", "Back", "Esc" buttons in logged in and logged out states
— Saving incomplete project when user clicks close button
1 parent 8f3e76c commit 8719188

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/projects/create/containers/CreateContainer.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ class CreateConainer extends React.Component {
143143
closeWizard() {
144144
const { userRoles } = this.props
145145
const isLoggedIn = userRoles && userRoles.length > 0
146+
// calls leave handler
147+
this.onLeave()
146148
if (isLoggedIn) {
147149
this.props.router.push('/projects')
148150
} else {

0 commit comments

Comments
 (0)