Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Surface edit dialog errors all the way

shamoonf56ccec77f90
diff --git a/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts
index 94fe79d2a..c83771656 100644
--- a/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts
+++ b/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts
@@ -131,6 +131,7 @@ export abstract class EditDialogComponent<
error: (error) => {
this.error = error.error
this.networkActive = false
+ this.succeeded.error(error)
},
})
}