diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-21 17:46:04 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-21 17:50:41 +0100 |
commit | 5b8072ee0ba95641da535309c6582330afb6e603 (patch) | |
tree | 6b74445181299005705b9a9ab7f2f883c20ff493 /client/src/app/videos/+video-watch/comment/video-comments.component.html | |
parent | b10ba55aca84b4513bc641f8bc7f298cc0f02a9c (diff) | |
download | PeerTube-5b8072ee0ba95641da535309c6582330afb6e603.tar.gz PeerTube-5b8072ee0ba95641da535309c6582330afb6e603.tar.zst PeerTube-5b8072ee0ba95641da535309c6582330afb6e603.zip |
Fix comment highlight
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comments.component.html')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comments.component.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.html b/client/src/app/videos/+video-watch/comment/video-comments.component.html index f95e2cbba..6f3e57160 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.html | |||
@@ -19,12 +19,12 @@ | |||
19 | [autoLoading]="true" | 19 | [autoLoading]="true" |
20 | (nearOfBottom)="onNearOfBottom()" | 20 | (nearOfBottom)="onNearOfBottom()" |
21 | > | 21 | > |
22 | <div *ngIf="highlightedComment" id="highlighted-comment"> | 22 | <div *ngIf="highlightedThread" id="highlighted-comment"> |
23 | <my-video-comment | 23 | <my-video-comment |
24 | [comment]="highlightedComment" | 24 | [comment]="highlightedThread" |
25 | [video]="video" | 25 | [video]="video" |
26 | [inReplyToCommentId]="inReplyToCommentId" | 26 | [inReplyToCommentId]="inReplyToCommentId" |
27 | [commentTree]="threadComments[highlightedComment.id]" | 27 | [commentTree]="threadComments[highlightedThread.id]" |
28 | [highlightedComment]="true" | 28 | [highlightedComment]="true" |
29 | (wantedToReply)="onWantedToReply($event)" | 29 | (wantedToReply)="onWantedToReply($event)" |
30 | (wantedToDelete)="onWantedToDelete($event)" | 30 | (wantedToDelete)="onWantedToDelete($event)" |
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | <div *ngFor="let comment of comments"> | 36 | <div *ngFor="let comment of comments"> |
37 | <my-video-comment | 37 | <my-video-comment |
38 | *ngIf="!highlightedComment || comment.id !== highlightedComment.id" | 38 | *ngIf="!highlightedThread || comment.id !== highlightedThread.id" |
39 | [comment]="comment" | 39 | [comment]="comment" |
40 | [video]="video" | 40 | [video]="video" |
41 | [inReplyToCommentId]="inReplyToCommentId" | 41 | [inReplyToCommentId]="inReplyToCommentId" |