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.html | 6 +++--- client/src/app/videos/+video-edit/video-add.component.ts | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos') diff --git a/client/src/app/videos/+video-edit/video-add.component.html b/client/src/app/videos/+video-edit/video-add.component.html index 20277423c..193cc55ee 100644 --- a/client/src/app/videos/+video-edit/video-add.component.html +++ b/client/src/app/videos/+video-edit/video-add.component.html @@ -11,7 +11,7 @@
Select the file to upload - +
@@ -42,8 +42,8 @@
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