X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideo-list%2Fvideo-miniature.component.ts;h=398d2db7507a2d4f4f2f6df78e9e99ca5b0488e8;hb=da4971c11f16b541804b5071d543166cd3954a98;hp=f807d17ac5606a9830becc959e081fde702cc7c8;hpb=00d6b0dda4b1964ab11127851c0fc7106cc0f912;p=github%2FChocobozzz%2FPeerTube.git 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 { if (confirm('Do you really want to remove this video?')) { this.videoService.removeVideo(id).subscribe( status => this.removed.emit(true), - error => alert(error) + error => alert(error.text) ); } }