X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Ffollows%2Fvideo-redundancies-list%2Fvideo-redundancies-list.component.ts;h=2b62d30a389c7bf619c7a5edb5ee716565e5d5aa;hb=e0a929179a9dc76e035ca7fda2b61d5ff46afbc5;hp=4b41d1d864ecaff57a867a9e2328e8ca57aca19c;hpb=cf59a2a0c367683ba35758419499bf6087c192ec;p=github%2FChocobozzz%2FPeerTube.git 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 4b41d1d86..2b62d30a3 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 @@ -44,6 +44,10 @@ export class VideoRedundanciesListComponent extends RestTable implements OnInit this.bytesPipe = new BytesPipe() } + getIdentifier () { + return 'VideoRedundanciesListComponent' + } + ngOnInit () { this.loadSelectLocalStorage() @@ -61,6 +65,12 @@ export class VideoRedundanciesListComponent extends RestTable implements OnInit }) } + getColspan () { + if (this.isDisplayingRemoteVideos()) return 5 + + return 4 + } + isDisplayingRemoteVideos () { return this.displayType === 'remote-videos' }