Skip to content

Commit d2cd964

Browse files
authored
COMPASS 881: Extract delete document fix and backport to 1.6-releases (#840)
From COMPASS 631 advanced query bar. f87311d
1 parent af6cf63 commit d2cd964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal-packages/crud/lib/component/editable-document.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class EditableDocument extends React.Component {
227227
*/
228228
handleRemoveSuccess() {
229229
this.setState({ deleting: false, deleteFinished: true });
230-
Actions.documentRemoved(this.doc._id);
230+
Actions.documentRemoved(this.props.doc._id);
231231
}
232232

233233
/**

0 commit comments

Comments
 (0)