diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-26 10:27:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-26 10:27:02 +0200 |
commit | 4b70c278a960a8d43407f0039aa03d0b08b44f9c (patch) | |
tree | d82990de9c1075dc5357f5f2f03162381f1e2c87 /client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts | |
parent | a4c49a17ea8b90c1522a9d0868de7186c7432592 (diff) | |
download | PeerTube-4b70c278a960a8d43407f0039aa03d0b08b44f9c.tar.gz PeerTube-4b70c278a960a8d43407f0039aa03d0b08b44f9c.tar.zst PeerTube-4b70c278a960a8d43407f0039aa03d0b08b44f9c.zip |
Automatic colspan for tables
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.ts | 6 |
1 files changed, 0 insertions, 6 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 d65467a4d..efcefd509 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 | |||
@@ -63,12 +63,6 @@ export class VideoRedundanciesListComponent extends RestTable implements OnInit | |||
63 | }) | 63 | }) |
64 | } | 64 | } |
65 | 65 | ||
66 | getColspan () { | ||
67 | if (this.isDisplayingRemoteVideos()) return 5 | ||
68 | |||
69 | return 4 | ||
70 | } | ||
71 | |||
72 | isDisplayingRemoteVideos () { | 66 | isDisplayingRemoteVideos () { |
73 | return this.displayType === 'remote-videos' | 67 | return this.displayType === 'remote-videos' |
74 | } | 68 | } |