aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorkimsible <kimsible@users.noreply.github.com>2020-08-07 00:06:45 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-14 15:03:38 +0200
commit09f8f73fbc8177930c76171300d4abc9f380d746 (patch)
tree8dcd188f0b4070cebddcd05e95d777dc04b865d2 /client/src
parent2c92b0634f780b62e26380939fcdc0508f55a1cb (diff)
downloadPeerTube-09f8f73fbc8177930c76171300d4abc9f380d746.tar.gz
PeerTube-09f8f73fbc8177930c76171300d4abc9f380d746.tar.zst
PeerTube-09f8f73fbc8177930c76171300d4abc9f380d746.zip
Hide deleted comment message when no replies
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+videos/+video-watch/comment/video-comment.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-watch/comment/video-comment.component.html b/client/src/app/+videos/+video-watch/comment/video-comment.component.html
index f02ea549a..aa6d45789 100644
--- a/client/src/app/+videos/+video-watch/comment/video-comment.component.html
+++ b/client/src/app/+videos/+video-watch/comment/video-comment.component.html
@@ -1,4 +1,4 @@
1<div class="root-comment"> 1<div *ngIf="!comment.isDeleted || comment.isDeleted && comment.totalReplies !== 0" class="root-comment">
2 <div class="left"> 2 <div class="left">
3 <a *ngIf="!comment.isDeleted" [href]="comment.account.url" target="_blank" rel="noopener noreferrer"> 3 <a *ngIf="!comment.isDeleted" [href]="comment.account.url" target="_blank" rel="noopener noreferrer">
4 <img 4 <img
@@ -58,7 +58,7 @@
58 class="comment-date">{{ comment.createdAt | myFromNow }}</a> 58 class="comment-date">{{ comment.createdAt | myFromNow }}</a>
59 </div> 59 </div>
60 60
61 <div *ngIf="comment.isDeleted" class="comment-html comment-html-deleted"> 61 <div class="comment-html comment-html-deleted">
62 <i i18n>This comment has been deleted</i> 62 <i i18n>This comment has been deleted</i>
63 </div> 63 </div>
64 </ng-container> 64 </ng-container>