Skip to content

Commit 400d4ea

Browse files
author
Vikas Agarwal
committed
Github issue #252 Clicking on 'Save Changes' button 2-3 times will display 'Project updated.' message 2-3 times
-- Fixed
1 parent e737d2f commit 400d4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/projects/detail/components/EditProjectForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class EditProjectForm extends Component {
102102
/>
103103
<div className="section-footer section-footer-spec">
104104
<button className="tc-btn tc-btn-primary tc-btn-md"
105-
type="submit" disabled={!this.state.canSubmit}
105+
type="submit" disabled={!this.state.canSubmit || this.state.isSaving }
106106
>Save Changes</button>
107107
</div>
108108
</div>

0 commit comments

Comments
 (0)