diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-25 18:32:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-25 18:32:53 +0200 |
commit | 74af5145f210e7e23d40b22c9ee3d968723d2595 (patch) | |
tree | d8910eeb89d75e36ecd5fd4f6090ec643d13a099 /client/src/app/videos/+video-edit/video-update.component.ts | |
parent | 407eab9c954a99fa8b65c637e4b1a37920fd849e (diff) | |
download | PeerTube-74af5145f210e7e23d40b22c9ee3d968723d2595.tar.gz PeerTube-74af5145f210e7e23d40b22c9ee3d968723d2595.tar.zst PeerTube-74af5145f210e7e23d40b22c9ee3d968723d2595.zip |
Video support field inherits channel support field
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 | 2 |
1 files changed, 1 insertions, 1 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 339da1bf4..310285f92 100644 --- a/client/src/app/videos/+video-edit/video-update.component.ts +++ b/client/src/app/videos/+video-edit/video-update.component.ts | |||
@@ -66,7 +66,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { | |||
66 | .listAccountVideoChannels(video.account) | 66 | .listAccountVideoChannels(video.account) |
67 | .pipe( | 67 | .pipe( |
68 | map(result => result.data), | 68 | map(result => result.data), |
69 | map(videoChannels => videoChannels.map(c => ({ id: c.id, label: c.displayName }))), | 69 | map(videoChannels => videoChannels.map(c => ({ id: c.id, label: c.displayName, support: c.support }))), |
70 | map(videoChannels => ({ video, videoChannels })) | 70 | map(videoChannels => ({ video, videoChannels })) |
71 | ) | 71 | ) |
72 | }) | 72 | }) |