Added event emitters and fixed document deletion
This commit is contained in:
@ -39,6 +39,7 @@ type Props = {
|
||||
|
||||
if (confirm(msg)) {
|
||||
this.props.document.delete();
|
||||
this.props.history.push(this.props.document.collection.url);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user