From ed349f06972e618c9ebe3f5b425d004a174fc846 Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Thu, 14 Dec 2023 12:43:06 +0200 Subject: [PATCH] RED-7691: refactor code. --- .../modules/file-preview/services/manual-redaction.service.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/red-ui/src/app/modules/file-preview/services/manual-redaction.service.ts b/apps/red-ui/src/app/modules/file-preview/services/manual-redaction.service.ts index 184d986bd..2864bdc5f 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/manual-redaction.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/manual-redaction.service.ts @@ -177,9 +177,7 @@ export class ManualRedactionService extends GenericService { }); return EMPTY; }), - tap({ - next: () => this._toaster.success(getDictionaryMessage('add'), { positionClass: 'toast-file-preview' }), - }), + tap(() => this._toaster.success(getDictionaryMessage('add'), { positionClass: 'toast-file-preview' })), ); } }