We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 291e5a4 + e76248f commit 4e2718cCopy full SHA for 4e2718c
src/projects/create/containers/CreateContainer.jsx
@@ -107,8 +107,8 @@ class CreateConainer extends React.Component {
107
108
// stores the incomplete project in local storage
109
onLeave(e) {// eslint-disable-line no-unused-vars
110
- const { wizardStep, isProjectDirty } = this.state
111
- if (wizardStep === ProjectWizard.Steps.WZ_STEP_FILL_PROJ_DETAILS && isProjectDirty) {// Project Details step
+ const { wizardStep } = this.state
+ if (wizardStep === ProjectWizard.Steps.WZ_STEP_FILL_PROJ_DETAILS) {// Project Details step
112
console.log('saving incomplete project')
113
window.localStorage.setItem(LS_INCOMPLETE_PROJECT, JSON.stringify(this.state.updatedProject))
114
}
0 commit comments