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.
1 parent a5d3fe4 commit dacc8dbCopy full SHA for dacc8db
src/components/TopBar/ProjectsToolBar.js
@@ -48,8 +48,12 @@ class ProjectsToolBar extends Component {
48
if (this.props.creatingProject && !nextProps.creatingProject) {
49
if (!nextProps.projectCreationError
50
&& nextProps.project && nextProps.project.id) {
51
- this.hideCreateProjectDialog()
52
- this.props.router.push('/projects/' + nextProps.project.id)
+ this.setState({
+ isProjectDirty : false
53
+ } ,() => {
54
+ this.hideCreateProjectDialog()
55
+ this.props.router.push('/projects/' + nextProps.project.id)
56
+ })
57
} else {
58
this.setState({
59
errorCreatingProject: true
0 commit comments