aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/video-list/video-list.component.ts6
1 files changed, 3 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 5691d684e..062340ec5 100644
--- a/client/src/app/videos/video-list/video-list.component.ts
+++ b/client/src/app/videos/video-list/video-list.component.ts
@@ -12,7 +12,7 @@ import {
12 Video, 12 Video,
13 VideoService 13 VideoService
14} from '../shared'; 14} from '../shared';
15import { AuthService, Search, SearchField, User } from '../../shared'; 15import { AuthService, AuthUser, Search, SearchField } from '../../shared';
16import { VideoMiniatureComponent } from './video-miniature.component'; 16import { VideoMiniatureComponent } from './video-miniature.component';
17import { VideoSortComponent } from './video-sort.component'; 17import { VideoSortComponent } from './video-sort.component';
18import { SearchService } from '../../shared'; 18import { SearchService } from '../../shared';
@@ -33,7 +33,7 @@ export class VideoListComponent implements OnInit, OnDestroy {
33 totalItems: null 33 totalItems: null
34 }; 34 };
35 sort: SortField; 35 sort: SortField;
36 user: User = null; 36 user: AuthUser = null;
37 videos: Video[] = []; 37 videos: Video[] = [];
38 38
39 private search: Search; 39 private search: Search;
@@ -51,7 +51,7 @@ export class VideoListComponent implements OnInit, OnDestroy {
51 51
52 ngOnInit() { 52 ngOnInit() {
53 if (this.authService.isLoggedIn()) { 53 if (this.authService.isLoggedIn()) {
54 this.user = User.load(); 54 this.user = AuthUser.load();
55 } 55 }
56 56
57 // Subscribe to route changes 57 // Subscribe to route changes