aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/angular/videos/components/list/videos-list.component.html1
-rw-r--r--client/angular/videos/components/list/videos-list.component.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/client/angular/videos/components/list/videos-list.component.html b/client/angular/videos/components/list/videos-list.component.html
index 75b860f38..9e51675dd 100644
--- a/client/angular/videos/components/list/videos-list.component.html
+++ b/client/angular/videos/components/list/videos-list.component.html
@@ -1,3 +1,4 @@
1<div *ngIf="videos.length === 0">There is no video.</div>
1<div *ngFor="#video of videos" class="video"> 2<div *ngFor="#video of videos" class="video">
2 <div> 3 <div>
3 <a [routerLink]="['VideosWatch', { id: video.id }]" class="video_name">{{ video.name }}</a> 4 <a [routerLink]="['VideosWatch', { id: video.id }]" class="video_name">{{ video.name }}</a>
diff --git a/client/angular/videos/components/list/videos-list.component.ts b/client/angular/videos/components/list/videos-list.component.ts
index 425d2dcfc..b081522c7 100644
--- a/client/angular/videos/components/list/videos-list.component.ts
+++ b/client/angular/videos/components/list/videos-list.component.ts
@@ -15,7 +15,7 @@ import { Video } from '../../models/video';
15 15
16export class VideosListComponent implements OnInit { 16export class VideosListComponent implements OnInit {
17 user: User = null; 17 user: User = null;
18 videos: Video[]; 18 videos: Video[] = [];
19 19
20 private search: string; 20 private search: string;
21 21