RED-10262: fixed cancel resize.
This commit is contained in:
parent
0259bcee06
commit
7e44bdf1e2
@ -77,7 +77,7 @@ export class ResizeRedactionDialogComponent extends IqserDialogComponent<
|
||||
|
||||
save() {
|
||||
const formValue = this.form.getRawValue();
|
||||
const updateDictionary = formValue.option.value === ResizeOptions.IN_DOSSIER;
|
||||
const updateDictionary = formValue.option?.value === ResizeOptions.IN_DOSSIER;
|
||||
|
||||
super.close({
|
||||
comment: formValue.comment,
|
||||
|
||||
@ -329,9 +329,9 @@ export class AnnotationActionsService {
|
||||
async cancelResize(annotationWrapper: AnnotationWrapper) {
|
||||
this._annotationManager.resizingAnnotationId = undefined;
|
||||
this._annotationManager.annotationHasBeenResized = false;
|
||||
this._annotationManager.deselect();
|
||||
this._annotationManager.delete(annotationWrapper);
|
||||
await this._annotationDrawService.draw([annotationWrapper], this._skippedService.hideSkipped(), this._state.dossierTemplateId);
|
||||
this._annotationManager.deselect();
|
||||
}
|
||||
|
||||
#generateRectangle(annotationWrapper: AnnotationWrapper) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user