diff --git a/app/scenes/DocumentDelete.tsx b/app/scenes/DocumentDelete.tsx index 82537a6f5..43b56695f 100644 --- a/app/scenes/DocumentDelete.tsx +++ b/app/scenes/DocumentDelete.tsx @@ -44,6 +44,7 @@ function DocumentDelete({ document, onSubmit }: Props) { if (parent) { history.push(documentUrl(parent)); + onSubmit(); return; } }