diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-09-26 22:54:34 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-09-26 22:54:34 +0200 |
commit | da4971c11f16b541804b5071d543166cd3954a98 (patch) | |
tree | acfe746bb065839ba3e42c2ada47fb6ff9b895f1 /client/src/app/videos/video-list/video-miniature.component.ts | |
parent | 00d6b0dda4b1964ab11127851c0fc7106cc0f912 (diff) | |
download | PeerTube-da4971c11f16b541804b5071d543166cd3954a98.tar.gz PeerTube-da4971c11f16b541804b5071d543166cd3954a98.tar.zst PeerTube-da4971c11f16b541804b5071d543166cd3954a98.zip |
Client: fix error alert
Diffstat (limited to 'client/src/app/videos/video-list/video-miniature.component.ts')
-rw-r--r-- | client/src/app/videos/video-list/video-miniature.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/video-list/video-miniature.component.ts b/client/src/app/videos/video-list/video-miniature.component.ts index f807d17ac..398d2db75 100644 --- a/client/src/app/videos/video-list/video-miniature.component.ts +++ b/client/src/app/videos/video-list/video-miniature.component.ts | |||
@@ -36,7 +36,7 @@ export class VideoMiniatureComponent { | |||
36 | if (confirm('Do you really want to remove this video?')) { | 36 | if (confirm('Do you really want to remove this video?')) { |
37 | this.videoService.removeVideo(id).subscribe( | 37 | this.videoService.removeVideo(id).subscribe( |
38 | status => this.removed.emit(true), | 38 | status => this.removed.emit(true), |
39 | error => alert(error) | 39 | error => alert(error.text) |
40 | ); | 40 | ); |
41 | } | 41 | } |
42 | } | 42 | } |