aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-23 17:42:56 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-23 17:42:56 +0200
commitbf68dd752d6e3d5fce791dd8e0df9debb9d96902 (patch)
tree867e4bef8481b85e81193342922ec60430029838 /client/src/app/videos
parentde59c48f5f317018e3f746bbe4a7b7efe00109f2 (diff)
downloadPeerTube-bf68dd752d6e3d5fce791dd8e0df9debb9d96902.tar.gz
PeerTube-bf68dd752d6e3d5fce791dd8e0df9debb9d96902.tar.zst
PeerTube-bf68dd752d6e3d5fce791dd8e0df9debb9d96902.zip
Client: fix error display for component
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/video-list/video-list.component.ts2
-rw-r--r--client/src/app/videos/video-watch/video-watch.component.ts2
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 }