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

This commit is contained in:
Valentin Mihai 2024-01-26 19:09:11 +02:00
parent 96a7084241
commit 33e8ae435b

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]);
}