aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-08 14:05:55 +0200
committerChocobozzz <me@florianbigard.com>2020-04-08 14:05:55 +0200
commitb1f3b635edf48949d268ce3d72fc33f126932a21 (patch)
tree1e5f9806358131355e93489e1d89d87a8f19415e /client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts
parenta911462d02bb9134f539ba904d440693608a27c2 (diff)
downloadPeerTube-b1f3b635edf48949d268ce3d72fc33f126932a21.tar.gz
PeerTube-b1f3b635edf48949d268ce3d72fc33f126932a21.tar.zst
PeerTube-b1f3b635edf48949d268ce3d72fc33f126932a21.zip
Improve admin tables row expand
Diffstat (limited to 'client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts')
-rw-r--r--client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts
index 2edee99a3..d563b4e95 100644
--- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts
+++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts
@@ -65,6 +65,12 @@ export class VideoRedundanciesListComponent extends RestTable implements OnInit
65 }) 65 })
66 } 66 }
67 67
68 getColspan () {
69 if (this.isDisplayingRemoteVideos()) return 3
70
71 return 2
72 }
73
68 isDisplayingRemoteVideos () { 74 isDisplayingRemoteVideos () {
69 return this.displayType === 'remote-videos' 75 return this.displayType === 'remote-videos'
70 } 76 }