X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fconfig%2Fedit-custom-config%2Fedit-custom-config.component.ts;h=2c3b7560d616606c9b72c6252d17409c1a49148b;hb=54909304287f3c04dcfb39660be8ead57dc95440;hp=0526ed8f11362344c7046ccb83d2afc3b3a5aa71;hpb=b302c80dc0d9ba8eabef9ef6576efe36afc57584;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts index 0526ed8f1..2c3b7560d 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts @@ -190,6 +190,9 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit { }, webtorrent: { enabled: null + }, + remoteRunners: { + enabled: null } }, live: { @@ -208,11 +211,17 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit { threads: TRANSCODING_THREADS_VALIDATOR, profile: null, resolutions: {}, - alwaysTranscodeOriginalResolution: null + alwaysTranscodeOriginalResolution: null, + remoteRunners: { + enabled: null + } } }, videoStudio: { - enabled: null + enabled: null, + remoteRunners: { + enabled: null + } }, autoBlacklist: { videos: { @@ -264,11 +273,11 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit { const defaultValues = { transcoding: { - resolutions: {} + resolutions: {} as { [id: string]: string } }, live: { transcoding: { - resolutions: {} + resolutions: {} as { [id: string]: string } } } }