From d908a155df8bb8af9c281587e425b209caa98ef8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Apr 2016 19:42:57 +0200 Subject: Write something if there is no video --- client/angular/videos/components/list/videos-list.component.html | 1 + client/angular/videos/components/list/videos-list.component.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'client') 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 @@ +
There is no video.
{{ video.name }} 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'; export class VideosListComponent implements OnInit { user: User = null; - videos: Video[]; + videos: Video[] = []; private search: string; -- cgit v1.2.3