]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix lint
authorChocobozzz <me@florianbigard.com>
Fri, 14 Aug 2020 13:04:58 +0000 (15:04 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 14 Aug 2020 13:04:58 +0000 (15:04 +0200)
client/src/app/+videos/+video-watch/comment/video-comment-add.component.ts
client/src/app/+videos/+video-watch/comment/video-comments.component.ts

index 41edb35abfc5b087a5332a3b0c20ba08bad3783c..fa20ec3b9db8a3df388ded3ebefeb50a40a0b0d1 100644 (file)
@@ -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()
   }
index adce31c5bb52ea4cbd8f3f59e787c94089f29f01..79627b1af1bc82e4bb642614daf74f9813bbd5d7 100644 (file)
@@ -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<boolean> {
+  async onWantedToDelete (
+    commentToDelete: VideoComment,
+    title = $localize`Delete`,
+    message = $localize`Do you really want to delete this comment?`
+  ): Promise<boolean> {
     if (commentToDelete.isLocal || this.video.isLocal) {
       message += $localize` The deletion will be sent to remote instances so they can reflect the change.`
     } else {