Merge branch 'RED-10427' into 'master'
RED-10427: send rectangle updated value for edit on multiple pages. See merge request redactmanager/red-ui!685
This commit is contained in:
commit
a5b3caea11
@ -1,7 +1,7 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { IqserDialog } from '@common-ui/dialog/iqser-dialog.service';
|
||||
import { getConfig } from '@iqser/common-ui';
|
||||
import { List, log } from '@iqser/common-ui/lib/utils';
|
||||
import { List } from '@iqser/common-ui/lib/utils';
|
||||
import { AnnotationPermissions } from '@models/file/annotation.permissions';
|
||||
import { AnnotationWrapper } from '@models/file/annotation.wrapper';
|
||||
import { Core } from '@pdftron/webviewer';
|
||||
@ -153,7 +153,7 @@ export class AnnotationActionsService {
|
||||
});
|
||||
} else {
|
||||
recategorizeBody = {
|
||||
value: annotations[0].value,
|
||||
value: result.value ?? annotations[0].value,
|
||||
type: result.type,
|
||||
legalBasis: result.legalBasis,
|
||||
section: result.section,
|
||||
@ -165,15 +165,13 @@ export class AnnotationActionsService {
|
||||
}
|
||||
|
||||
await this.#processObsAndEmit(
|
||||
this._manualRedactionService
|
||||
.recategorizeRedactions(
|
||||
recategorizeBody,
|
||||
dossierId,
|
||||
file().id,
|
||||
this.#getChangedFields(annotations, result),
|
||||
result.option === RedactOrHintOptions.IN_DOCUMENT || !!result.pageNumbers.length,
|
||||
)
|
||||
.pipe(log()),
|
||||
this._manualRedactionService.recategorizeRedactions(
|
||||
recategorizeBody,
|
||||
dossierId,
|
||||
file().id,
|
||||
this.#getChangedFields(annotations, result),
|
||||
result.option === RedactOrHintOptions.IN_DOCUMENT || !!result.pageNumbers.length,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user