diff options
Diffstat (limited to 'client/src/app/videos/video-list/video-list.component.ts')
-rw-r--r-- | client/src/app/videos/video-list/video-list.component.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/videos/video-list/video-list.component.ts b/client/src/app/videos/video-list/video-list.component.ts index 7c6d4b992..1324a6214 100644 --- a/client/src/app/videos/video-list/video-list.component.ts +++ b/client/src/app/videos/video-list/video-list.component.ts | |||
@@ -7,12 +7,11 @@ import { PAGINATION_DIRECTIVES } from 'ng2-bootstrap/components/pagination'; | |||
7 | 7 | ||
8 | import { | 8 | import { |
9 | LoaderComponent, | 9 | LoaderComponent, |
10 | Pagination, | ||
11 | SortField, | 10 | SortField, |
12 | Video, | 11 | Video, |
13 | VideoService | 12 | VideoService |
14 | } from '../shared'; | 13 | } from '../shared'; |
15 | import { AuthService, AuthUser, Search, SearchField } from '../../shared'; | 14 | import { AuthService, AuthUser, RestPagination, Search, SearchField } from '../../shared'; |
16 | import { VideoMiniatureComponent } from './video-miniature.component'; | 15 | import { VideoMiniatureComponent } from './video-miniature.component'; |
17 | import { VideoSortComponent } from './video-sort.component'; | 16 | import { VideoSortComponent } from './video-sort.component'; |
18 | import { SearchService } from '../../shared'; | 17 | import { SearchService } from '../../shared'; |
@@ -27,7 +26,7 @@ import { SearchService } from '../../shared'; | |||
27 | 26 | ||
28 | export class VideoListComponent implements OnInit, OnDestroy { | 27 | export class VideoListComponent implements OnInit, OnDestroy { |
29 | loading: BehaviorSubject<boolean> = new BehaviorSubject(false); | 28 | loading: BehaviorSubject<boolean> = new BehaviorSubject(false); |
30 | pagination: Pagination = { | 29 | pagination: RestPagination = { |
31 | currentPage: 1, | 30 | currentPage: 1, |
32 | itemsPerPage: 9, | 31 | itemsPerPage: 9, |
33 | totalItems: null | 32 | totalItems: null |