From e750b954cd4775363caf9678866ca2bbdfa38657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Mon, 28 Jun 2021 22:08:21 +0300 Subject: [PATCH] Fixed comments params order --- .../dossier/services/manual-annotation.service.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/red-ui/src/app/modules/dossier/services/manual-annotation.service.ts b/apps/red-ui/src/app/modules/dossier/services/manual-annotation.service.ts index db8ee150b..ac87e06b2 100644 --- a/apps/red-ui/src/app/modules/dossier/services/manual-annotation.service.ts +++ b/apps/red-ui/src/app/modules/dossier/services/manual-annotation.service.ts @@ -30,19 +30,19 @@ export class ManualAnnotationService { addComment(comment: string, annotationId: string) { return this._manualRedactionControllerService.addComment( { text: comment }, + annotationId, this._appStateService.activeDossierId, - this._appStateService.activeFileId, - annotationId + this._appStateService.activeFileId ); } // this wraps /manualRedaction/comment/undo deleteComment(commentId: string, annotationId: string) { return this._manualRedactionControllerService.undoComment( - this._appStateService.activeDossierId, - this._appStateService.activeFileId, annotationId, - commentId + commentId, + this._appStateService.activeDossierId, + this._appStateService.activeFileId ); }