fix: Dialog doesn't close after deleting a document with a parent (#4108)
This commit is contained in:
@@ -44,6 +44,7 @@ function DocumentDelete({ document, onSubmit }: Props) {
|
||||
|
||||
if (parent) {
|
||||
history.push(documentUrl(parent));
|
||||
onSubmit();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user