Skip to content

Commit

Permalink
COMPASS-568: Set deleting to false when document deletion is successf…
Browse files Browse the repository at this point in the history
…ul (#729)
  • Loading branch information
durran committed Jan 4, 2017
1 parent 95eca43 commit 4c3ed82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class EditableDocument extends React.Component {
* @param {Object} doc - The updated document.
*/
handleRemoveSuccess() {
this.setState({ deleteFinished: true });
this.setState({ deleting: false, deleteFinished: true });
Actions.documentRemoved(this.doc._id);
}

Expand Down

0 comments on commit 4c3ed82

Please sign in to comment.