aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-14 15:04:58 +0200
committerChocobozzz <me@florianbigard.com>2020-08-14 15:04:58 +0200
commit93e903ac165eed918986e415127d6ea9730e572c (patch)
treebf59b4594923e77926aa99568545b2c54d46c20f /client
parentda188b9f9e68ece3caa27df7401b4e34aadeb1f5 (diff)
downloadPeerTube-93e903ac165eed918986e415127d6ea9730e572c.tar.gz
PeerTube-93e903ac165eed918986e415127d6ea9730e572c.tar.zst
PeerTube-93e903ac165eed918986e415127d6ea9730e572c.zip
Fix lint
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+videos/+video-watch/comment/video-comment-add.component.ts2
-rw-r--r--client/src/app/+videos/+video-watch/comment/video-comments.component.ts6
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,
37 private notifier: Notifier, 37 private notifier: Notifier,
38 private videoCommentService: VideoCommentService, 38 private videoCommentService: VideoCommentService,
39 private modalService: NgbModal, 39 private modalService: NgbModal,
40 private router: Router, 40 private router: Router
41 ) { 41 ) {
42 super() 42 super()
43 } 43 }
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 {
160 this.timestampClicked.emit(timestamp) 160 this.timestampClicked.emit(timestamp)
161 } 161 }
162 162
163 async onWantedToDelete(commentToDelete: VideoComment, title = $localize`Delete`, message = $localize`Do you really want to delete this comment?`): Promise<boolean> { 163 async onWantedToDelete (
164 commentToDelete: VideoComment,
165 title = $localize`Delete`,
166 message = $localize`Do you really want to delete this comment?`
167 ): Promise<boolean> {
164 if (commentToDelete.isLocal || this.video.isLocal) { 168 if (commentToDelete.isLocal || this.video.isLocal) {
165 message += $localize` The deletion will be sent to remote instances so they can reflect the change.` 169 message += $localize` The deletion will be sent to remote instances so they can reflect the change.`
166 } else { 170 } else {