From 93e903ac165eed918986e415127d6ea9730e572c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 14 Aug 2020 15:04:58 +0200 Subject: [PATCH] Fix lint --- .../+video-watch/comment/video-comment-add.component.ts | 2 +- .../+video-watch/comment/video-comments.component.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/client/src/app/+videos/+video-watch/comment/video-comment-add.component.ts b/client/src/app/+videos/+video-watch/comment/video-comment-add.component.ts index 41edb35ab..fa20ec3b9 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comment-add.component.ts +++ b/client/src/app/+videos/+video-watch/comment/video-comment-add.component.ts @@ -37,7 +37,7 @@ export class VideoCommentAddComponent extends FormReactive implements OnChanges, private notifier: Notifier, private videoCommentService: VideoCommentService, private modalService: NgbModal, - private router: Router, + private router: Router ) { super() } diff --git a/client/src/app/+videos/+video-watch/comment/video-comments.component.ts b/client/src/app/+videos/+video-watch/comment/video-comments.component.ts index adce31c5b..79627b1af 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comments.component.ts +++ b/client/src/app/+videos/+video-watch/comment/video-comments.component.ts @@ -160,7 +160,11 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy { this.timestampClicked.emit(timestamp) } - async onWantedToDelete(commentToDelete: VideoComment, title = $localize`Delete`, message = $localize`Do you really want to delete this comment?`): Promise { + async onWantedToDelete ( + commentToDelete: VideoComment, + title = $localize`Delete`, + message = $localize`Do you really want to delete this comment?` + ): Promise { if (commentToDelete.isLocal || this.video.isLocal) { message += $localize` The deletion will be sent to remote instances so they can reflect the change.` } else {