diff options
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/video-list/video-list.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.ts | 2 |
2 files changed, 2 insertions, 2 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 1324a6214..9a9ffe29f 100644 --- a/client/src/app/videos/video-list/video-list.component.ts +++ b/client/src/app/videos/video-list/video-list.component.ts | |||
@@ -98,7 +98,7 @@ export class VideoListComponent implements OnInit, OnDestroy { | |||
98 | 98 | ||
99 | this.loading.next(false); | 99 | this.loading.next(false); |
100 | }, | 100 | }, |
101 | error => alert(error) | 101 | error => alert(error.text) |
102 | ); | 102 | ); |
103 | } | 103 | } |
104 | 104 | ||
diff --git a/client/src/app/videos/video-watch/video-watch.component.ts b/client/src/app/videos/video-watch/video-watch.component.ts index bc0e3157d..d260e55c7 100644 --- a/client/src/app/videos/video-watch/video-watch.component.ts +++ b/client/src/app/videos/video-watch/video-watch.component.ts | |||
@@ -86,7 +86,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
86 | this.video = video; | 86 | this.video = video; |
87 | this.loadVideo(); | 87 | this.loadVideo(); |
88 | }, | 88 | }, |
89 | error => alert(error) | 89 | error => alert(error.text) |
90 | ); | 90 | ); |
91 | }); | 91 | }); |
92 | } | 92 | } |