diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts b/apps/red-ui/src/app/modules/file-preview/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts index b3db1abc3..1297b0d58 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts @@ -95,7 +95,10 @@ export class ManualAnnotationDialogComponent extends BaseDialogComponent impleme save() { this._enhanceManualRedaction(this.data.manualRedactionEntryWrapper.manualRedactionEntry); try { - const annotations = this.isRectangle ? this.#getRectangles() : [this.data.manualRedactionEntryWrapper]; + const annotations = + this.isRectangle && !!this.form.get('multiplePages').value + ? this.#getRectangles() + : [this.data.manualRedactionEntryWrapper]; this._dialogRef.close(annotations); } catch (e) { this._toaster.error(_('manual-annotation.dialog.error'));