aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-watch/comment/video-comments.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+videos/+video-watch/comment/video-comments.component.ts')
-rw-r--r--client/src/app/+videos/+video-watch/comment/video-comments.component.ts6
1 files changed, 5 insertions, 1 deletions
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 {