diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-31 15:57:32 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-08-01 09:11:04 +0200 |
commit | bfbd912886eba17b4aa9a40dcef2fddc685d85bf (patch) | |
tree | 85e0f22980210a8ccd0888eb5e1790b152074677 /client/src/app/+accounts | |
parent | 85394ba22a07bde1dfccebf3f591a5d6dbe9df56 (diff) | |
download | PeerTube-bfbd912886eba17b4aa9a40dcef2fddc685d85bf.tar.gz PeerTube-bfbd912886eba17b4aa9a40dcef2fddc685d85bf.tar.zst PeerTube-bfbd912886eba17b4aa9a40dcef2fddc685d85bf.zip |
Fix broken playlist api
Diffstat (limited to 'client/src/app/+accounts')
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.html | 7 | ||||
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.scss | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html index cb23bb522..ea5f61b18 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html | |||
@@ -18,10 +18,13 @@ | |||
18 | <div *ngIf="getVideosOf(videoChannel)" class="videos"> | 18 | <div *ngIf="getVideosOf(videoChannel)" class="videos"> |
19 | <div class="no-results" i18n *ngIf="getVideosOf(videoChannel).length === 0">This channel does not have videos.</div> | 19 | <div class="no-results" i18n *ngIf="getVideosOf(videoChannel).length === 0">This channel does not have videos.</div> |
20 | 20 | ||
21 | <my-video-miniature *ngFor="let video of getVideosOf(videoChannel)" [video]="video" [user]="user" [displayVideoActions]="false"></my-video-miniature> | 21 | <my-video-miniature |
22 | *ngFor="let video of getVideosOf(videoChannel)" | ||
23 | [video]="video" [user]="user" [displayVideoActions]="true" | ||
24 | ></my-video-miniature> | ||
22 | </div> | 25 | </div> |
23 | 26 | ||
24 | <a class="show-more" i18n [routerLink]="getVideoChannelLink(videoChannel)"> | 27 | <a *ngIf="getVideosOf(videoChannel).length !== 0" class="show-more" i18n [routerLink]="getVideoChannelLink(videoChannel)"> |
25 | Show this channel | 28 | Show this channel |
26 | </a> | 29 | </a> |
27 | </div> | 30 | </div> |
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss index 98931f0c2..7f7652460 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss | |||
@@ -23,6 +23,11 @@ | |||
23 | height: 50px; | 23 | height: 50px; |
24 | } | 24 | } |
25 | } | 25 | } |
26 | |||
27 | my-video-miniature ::ng-deep my-video-actions-dropdown > my-action-dropdown { | ||
28 | // Fix our overflow | ||
29 | position: absolute; | ||
30 | } | ||
26 | } | 31 | } |
27 | 32 | ||
28 | 33 | ||