From 939e726e87e49657864e1fa50a2837a5a952f723 Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Mon, 3 Apr 2023 15:54:26 +0300 Subject: [PATCH] RED-6506: Clean up code. --- .../false-positive-dialog/false-positive-dialog.component.scss | 0 .../false-positive-dialog/false-positive-dialog.component.ts | 2 -- .../modules/file-preview/services/annotation-actions.service.ts | 1 - 3 files changed, 3 deletions(-) delete mode 100644 apps/red-ui/src/app/modules/file-preview/dialogs/false-positive-dialog/false-positive-dialog.component.scss diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/false-positive-dialog/false-positive-dialog.component.scss b/apps/red-ui/src/app/modules/file-preview/dialogs/false-positive-dialog/false-positive-dialog.component.scss deleted file mode 100644 index e69de29bb..000000000 diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/false-positive-dialog/false-positive-dialog.component.ts b/apps/red-ui/src/app/modules/file-preview/dialogs/false-positive-dialog/false-positive-dialog.component.ts index 9b39d41b2..d25da3c8e 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/false-positive-dialog/false-positive-dialog.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/false-positive-dialog/false-positive-dialog.component.ts @@ -8,9 +8,7 @@ export interface FalsePositiveDialogInput { } @Component({ - selector: 'redaction-false-positive-dialog', templateUrl: './false-positive-dialog.component.html', - styleUrls: ['./false-positive-dialog.component.scss'], }) export class FalsePositiveDialogComponent extends BaseDialogComponent implements OnInit { constructor( diff --git a/apps/red-ui/src/app/modules/file-preview/services/annotation-actions.service.ts b/apps/red-ui/src/app/modules/file-preview/services/annotation-actions.service.ts index 764417daf..41dabd561 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/annotation-actions.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/annotation-actions.service.ts @@ -265,7 +265,6 @@ export class AnnotationActionsService { : DictionaryEntryTypes.FALSE_POSITIVE, comment: result.comment ? { text: result.comment } : null, })); - console.log(requests.map(req => req.value)); const { dossierId, fileId } = this._state; this.#processObsAndEmit(this._manualRedactionService.addAnnotation(requests, dossierId, fileId));