diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-19 09:24:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-25 11:24:11 +0200 |
commit | dd24f1bb0a4b252e5342b251ba36853364da7b8e (patch) | |
tree | 41a9506d07413f056fb90425705e258f96fdc77d /client/src/app/shared/shared-video-miniature/video-list-header.component.ts | |
parent | 2e80d256cc75b4b02c8efc3d3e4cdf57ddf401a8 (diff) | |
download | PeerTube-dd24f1bb0a4b252e5342b251ba36853364da7b8e.tar.gz PeerTube-dd24f1bb0a4b252e5342b251ba36853364da7b8e.tar.zst PeerTube-dd24f1bb0a4b252e5342b251ba36853364da7b8e.zip |
Add video filters to common video pages
Diffstat (limited to 'client/src/app/shared/shared-video-miniature/video-list-header.component.ts')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-list-header.component.ts | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/client/src/app/shared/shared-video-miniature/video-list-header.component.ts b/client/src/app/shared/shared-video-miniature/video-list-header.component.ts deleted file mode 100644 index fed696672..000000000 --- a/client/src/app/shared/shared-video-miniature/video-list-header.component.ts +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | import { Component, Inject, ViewEncapsulation } from '@angular/core' | ||
2 | |||
3 | export interface GenericHeaderData { | ||
4 | titlePage: string | ||
5 | titleTooltip?: string | ||
6 | } | ||
7 | |||
8 | export abstract class GenericHeaderComponent { | ||
9 | constructor (@Inject('data') public data: GenericHeaderData) {} | ||
10 | } | ||
11 | |||
12 | @Component({ | ||
13 | selector: 'my-video-list-header', | ||
14 | // eslint-disable-next-line @angular-eslint/use-component-view-encapsulation | ||
15 | encapsulation: ViewEncapsulation.None, | ||
16 | templateUrl: './video-list-header.component.html' | ||
17 | }) | ||
18 | export class VideoListHeaderComponent extends GenericHeaderComponent { | ||
19 | constructor (@Inject('data') public data: GenericHeaderData) { | ||
20 | super(data) | ||
21 | } | ||
22 | } | ||