diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-08 11:30:48 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-08 11:30:58 +0100 |
commit | 108af66140713c4beec681a71d360ab788226528 (patch) | |
tree | cbc59800ee72a158ac5adfe6984470175a02d66c /client/src/app/videos/+video-edit/video-add.component.ts | |
parent | 2cfe649635088de8582b3808b320dab598cb95c9 (diff) | |
download | PeerTube-108af66140713c4beec681a71d360ab788226528.tar.gz PeerTube-108af66140713c4beec681a71d360ab788226528.tar.zst PeerTube-108af66140713c4beec681a71d360ab788226528.zip |
Fix overflow in select inputs
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add.component.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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 { | |||
52 | super() | 52 | super() |
53 | } | 53 | } |
54 | 54 | ||
55 | get videoExtensions () { | ||
56 | return this.serverService.getConfig().video.file.extensions.join(',') | ||
57 | } | ||
58 | |||
55 | buildForm () { | 59 | buildForm () { |
56 | this.form = this.formBuilder.group({}) | 60 | this.form = this.formBuilder.group({}) |
57 | this.form.valueChanges.subscribe(data => this.onValueChanged(data)) | 61 | this.form.valueChanges.subscribe(data => this.onValueChanged(data)) |