diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-08 15:35:18 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-08 15:35:18 +0200 |
commit | 4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4 (patch) | |
tree | fc167d50569885006ee6911819dce634586231e2 /client/src/app/videos/+video-watch/video-watch.component.ts | |
parent | 696fa4c06b2351983740eb617ad46eb8eeb2c4e8 (diff) | |
download | PeerTube-4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4.tar.gz PeerTube-4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4.tar.zst PeerTube-4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4.zip |
Remove video not found
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 6 |
1 files changed, 0 insertions, 6 deletions
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 4a67d456e..7ba8d1fa4 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -46,7 +46,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
46 | playerElement: HTMLVideoElement | 46 | playerElement: HTMLVideoElement |
47 | userRating: UserVideoRateType = null | 47 | userRating: UserVideoRateType = null |
48 | video: VideoDetails = null | 48 | video: VideoDetails = null |
49 | videoNotFound = false | ||
50 | descriptionLoading = false | 49 | descriptionLoading = false |
51 | 50 | ||
52 | completeDescriptionShown = false | 51 | completeDescriptionShown = false |
@@ -119,11 +118,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
119 | const startTime = this.route.snapshot.queryParams.start | 118 | const startTime = this.route.snapshot.queryParams.start |
120 | this.onVideoFetched(video, startTime) | 119 | this.onVideoFetched(video, startTime) |
121 | .catch(err => this.handleError(err)) | 120 | .catch(err => this.handleError(err)) |
122 | }, | ||
123 | |||
124 | error => { | ||
125 | this.videoNotFound = true | ||
126 | console.error(error) | ||
127 | } | 121 | } |
128 | ) | 122 | ) |
129 | }) | 123 | }) |