aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-edit/video-update.resolver.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-update.resolver.ts')
-rw-r--r--client/src/app/+videos/+video-edit/video-update.resolver.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-edit/video-update.resolver.ts b/client/src/app/+videos/+video-edit/video-update.resolver.ts
index 30bcf4d74..a391913d8 100644
--- a/client/src/app/+videos/+video-edit/video-update.resolver.ts
+++ b/client/src/app/+videos/+video-edit/video-update.resolver.ts
@@ -28,7 +28,12 @@ export class VideoUpdateResolver implements Resolve<any> {
28 .listAccountVideoChannels(video.account) 28 .listAccountVideoChannels(video.account)
29 .pipe( 29 .pipe(
30 map(result => result.data), 30 map(result => result.data),
31 map(videoChannels => videoChannels.map(c => ({ id: c.id, label: c.displayName, support: c.support }))) 31 map(videoChannels => videoChannels.map(c => ({
32 id: c.id,
33 label: c.displayName,
34 support: c.support,
35 avatarPath: c.avatar?.path
36 })))
32 ), 37 ),
33 38
34 this.videoCaptionService 39 this.videoCaptionService