]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Surface edit dialog errors all the way
authorshamoon <4887959+shamoon@users.noreply.github.com>
Fri, 3 Mar 2023 16:55:52 +0000 (08:55 -0800)
committershamoon <4887959+shamoon@users.noreply.github.com>
Fri, 3 Mar 2023 16:55:52 +0000 (08:55 -0800)
src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts

index 94fe79d2a3294188d88c8ab4543cbe13d585edf5..c83771656828240a79d7a49d6ba2c7bf9b13d673 100644 (file)
@@ -131,6 +131,7 @@ export abstract class EditDialogComponent<
       error: (error) => {
         this.error = error.error
         this.networkActive = false
+        this.succeeded.error(error)
       },
     })
   }