aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-21 08:49:05 +0100
committerChocobozzz <me@florianbigard.com>2018-02-21 08:49:05 +0100
commit3bf1ec2ebb6da3ffbfb2af505268a47d38956d28 (patch)
tree050870fdcb3ad593f3e3c5f4ecbc0e2fb04cc26b /client/src/app/videos
parenta41e183c03ec60dae8cd7d62ca05036876b78824 (diff)
downloadPeerTube-3bf1ec2ebb6da3ffbfb2af505268a47d38956d28.tar.gz
PeerTube-3bf1ec2ebb6da3ffbfb2af505268a47d38956d28.tar.zst
PeerTube-3bf1ec2ebb6da3ffbfb2af505268a47d38956d28.zip
Hide support button if it is empty
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index b8ec048b2..2869d13dd 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -44,7 +44,7 @@
44 <span class="icon icon-dislike" title="Dislike this video"></span> 44 <span class="icon icon-dislike" title="Dislike this video"></span>
45 </div> 45 </div>
46 46
47 <div (click)="showSupportModal()" class="action-button action-button-support"> 47 <div *ngIf="video.support" (click)="showSupportModal()" class="action-button action-button-support">
48 <span class="icon icon-support"></span> 48 <span class="icon icon-support"></span>
49 <span class="icon-text">Support</span> 49 <span class="icon-text">Support</span>
50 </div> 50 </div>