From 14e2014acc1362cfbb770c051a7254b156cd8efb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 11 Dec 2018 14:52:50 +0100 Subject: Support additional video extensions --- client/src/app/shared/forms/peertube-checkbox.component.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'client/src/app/shared/forms/peertube-checkbox.component.ts') diff --git a/client/src/app/shared/forms/peertube-checkbox.component.ts b/client/src/app/shared/forms/peertube-checkbox.component.ts index bbc9904df..c1a6915e8 100644 --- a/client/src/app/shared/forms/peertube-checkbox.component.ts +++ b/client/src/app/shared/forms/peertube-checkbox.component.ts @@ -19,8 +19,7 @@ export class PeertubeCheckboxComponent implements ControlValueAccessor { @Input() labelText: string @Input() labelHtml: string @Input() helpHtml: string - - isDisabled = false + @Input() disabled = false propagateChange = (_: any) => { /* empty */ } @@ -41,6 +40,6 @@ export class PeertubeCheckboxComponent implements ControlValueAccessor { } setDisabledState (isDisabled: boolean) { - this.isDisabled = isDisabled + this.disabled = isDisabled } } -- cgit v1.2.3