RED-7513, allow editing of section when reason is not changed.
This commit is contained in:
parent
658f7d9ea5
commit
1c0866059a
@ -117,7 +117,7 @@ export class AnnotationActionsService {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.#isDocumine && result.legalBasis !== annotations[0].legalBasis) {
|
||||
if (!this.#isDocumine && (result.legalBasis !== annotations[0].legalBasis || result.section !== annotations[0].section)) {
|
||||
const changeLegalBasisBody = annotations.map(annotation => ({
|
||||
annotationId: annotation.id,
|
||||
legalBasis: result.legalBasis,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user