From 108af66140713c4beec681a71d360ab788226528 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 8 Jan 2018 11:30:48 +0100 Subject: Fix overflow in select inputs --- client/src/app/videos/+video-edit/video-add.component.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/src/app/videos/+video-edit/video-add.component.ts') diff --git a/client/src/app/videos/+video-edit/video-add.component.ts b/client/src/app/videos/+video-edit/video-add.component.ts index 843475647..066f945fc 100644 --- a/client/src/app/videos/+video-edit/video-add.component.ts +++ b/client/src/app/videos/+video-edit/video-add.component.ts @@ -52,6 +52,10 @@ export class VideoAddComponent extends FormReactive implements OnInit { super() } + get videoExtensions () { + return this.serverService.getConfig().video.file.extensions.join(',') + } + buildForm () { this.form = this.formBuilder.group({}) this.form.valueChanges.subscribe(data => this.onValueChanged(data)) -- cgit v1.2.3