RED-7990 fix rule based annotations cannot be resized

This commit is contained in:
Dan Percic 2023-12-04 19:07:28 +02:00
parent de31be252b
commit d073980d41

View File

@ -259,8 +259,8 @@ export class AnnotationActionsService {
comment: result.comment,
positions: textAndPositions.positions,
value: text,
updateDictionary: result.updateDictionary,
addToAllDossiers: result.addToAllDossiers,
updateDictionary: !annotation.isRuleBased && result.updateDictionary,
addToAllDossiers: !annotation.isRuleBased && result.addToAllDossiers,
};
await this.cancelResize(annotation);