diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-20 16:13:05 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-20 16:13:55 +0100 |
commit | 07fa4c97ca50b83b0bee9230da97d02401b4e05f (patch) | |
tree | 07a5ef1b14d8f0596c241456e4cc772f38c0e4ba /client/src/app/videos/+video-edit/video-update.component.ts | |
parent | dddf58c8ce58f6cdd4b8ba93690cceae8f52c37d (diff) | |
download | PeerTube-07fa4c97ca50b83b0bee9230da97d02401b4e05f.tar.gz PeerTube-07fa4c97ca50b83b0bee9230da97d02401b4e05f.tar.zst PeerTube-07fa4c97ca50b83b0bee9230da97d02401b4e05f.zip |
Add support to video support on client
Diffstat (limited to 'client/src/app/videos/+video-edit/video-update.component.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/video-update.component.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-edit/video-update.component.ts b/client/src/app/videos/+video-edit/video-update.component.ts index de34555ab..0ef3c0259 100644 --- a/client/src/app/videos/+video-edit/video-update.component.ts +++ b/client/src/app/videos/+video-edit/video-update.component.ts | |||
@@ -61,8 +61,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { | |||
61 | .switchMap(video => { | 61 | .switchMap(video => { |
62 | return this.videoService | 62 | return this.videoService |
63 | .loadCompleteDescription(video.descriptionPath) | 63 | .loadCompleteDescription(video.descriptionPath) |
64 | .do(description => video.description = description) | 64 | .map(description => Object.assign(video, { description })) |
65 | .map(() => video) | ||
66 | }) | 65 | }) |
67 | .subscribe( | 66 | .subscribe( |
68 | video => { | 67 | video => { |