]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-watch/comment/video-comments.component.html
feature: initial syndication feeds support
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / comment / video-comments.component.html
index f95e2cbba7dc29e6ebabb6ab4b08527292c73028..6f3e571602ed7d860b392ba2660511f304a5cf9d 100644 (file)
       [autoLoading]="true"
       (nearOfBottom)="onNearOfBottom()"
     >
-      <div *ngIf="highlightedComment" id="highlighted-comment">
+      <div *ngIf="highlightedThread" id="highlighted-comment">
         <my-video-comment
-            [comment]="highlightedComment"
+            [comment]="highlightedThread"
             [video]="video"
             [inReplyToCommentId]="inReplyToCommentId"
-            [commentTree]="threadComments[highlightedComment.id]"
+            [commentTree]="threadComments[highlightedThread.id]"
             [highlightedComment]="true"
             (wantedToReply)="onWantedToReply($event)"
             (wantedToDelete)="onWantedToDelete($event)"
@@ -35,7 +35,7 @@
 
       <div *ngFor="let comment of comments">
         <my-video-comment
-          *ngIf="!highlightedComment || comment.id !== highlightedComment.id"
+          *ngIf="!highlightedThread || comment.id !== highlightedThread.id"
           [comment]="comment"
           [video]="video"
           [inReplyToCommentId]="inReplyToCommentId"