diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-31 11:14:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-31 11:15:50 +0200 |
commit | 34c7f429e411fb911dfa56a816b638fd665717a4 (patch) | |
tree | af6b7658788a2304301a4793b7e9a293c8d2e1e6 /client/src/app/shared/video/videos-selection.component.ts | |
parent | e6b04e0e796c1b36d15fbe732e89ef4820dcabd9 (diff) | |
download | PeerTube-34c7f429e411fb911dfa56a816b638fd665717a4.tar.gz PeerTube-34c7f429e411fb911dfa56a816b638fd665717a4.tar.zst PeerTube-34c7f429e411fb911dfa56a816b638fd665717a4.zip |
Group videos on chronological order
Diffstat (limited to 'client/src/app/shared/video/videos-selection.component.ts')
-rw-r--r-- | client/src/app/shared/video/videos-selection.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/shared/video/videos-selection.component.ts b/client/src/app/shared/video/videos-selection.component.ts index 955ebca9f..d69f7b70e 100644 --- a/client/src/app/shared/video/videos-selection.component.ts +++ b/client/src/app/shared/video/videos-selection.component.ts | |||
@@ -20,6 +20,7 @@ import { Video } from '@app/shared/video/video.model' | |||
20 | import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template.directive' | 20 | import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template.directive' |
21 | import { VideoSortField } from '@app/shared/video/sort-field.type' | 21 | import { VideoSortField } from '@app/shared/video/sort-field.type' |
22 | import { ComponentPagination } from '@app/shared/rest/component-pagination.model' | 22 | import { ComponentPagination } from '@app/shared/rest/component-pagination.model' |
23 | import { I18n } from '@ngx-translate/i18n-polyfill' | ||
23 | 24 | ||
24 | export type SelectionType = { [ id: number ]: boolean } | 25 | export type SelectionType = { [ id: number ]: boolean } |
25 | 26 | ||
@@ -44,6 +45,7 @@ export class VideosSelectionComponent extends AbstractVideoList implements OnIni | |||
44 | globalButtonsTemplate: TemplateRef<any> | 45 | globalButtonsTemplate: TemplateRef<any> |
45 | 46 | ||
46 | constructor ( | 47 | constructor ( |
48 | protected i18n: I18n, | ||
47 | protected router: Router, | 49 | protected router: Router, |
48 | protected route: ActivatedRoute, | 50 | protected route: ActivatedRoute, |
49 | protected notifier: Notifier, | 51 | protected notifier: Notifier, |