Merge branch 'VM/RED-8279' into 'master'

RED-8279 - Backend responds with outdated data in entityLog for applied resized recommendation

Closes RED-8279

See merge request redactmanager/red-ui!272
This commit is contained in:
Dan Percic 2024-01-29 13:07:05 +01:00
commit 702aa2905a

View File

@ -248,6 +248,10 @@ export class AnnotationActionsService {
value: textAndPositions.text,
positions: textAndPositions.positions,
} as AnnotationWrapper;
recommendation.isRemoved = true;
await this._annotationDrawService.draw([recommendation], this._skippedService.hideSkipped(), this._state.dossierTemplateId);
return this.convertRecommendationToAnnotation([recommendation]);
}