diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/shared-forms/reactive-file.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-forms/reactive-file.component.ts b/client/src/app/shared/shared-forms/reactive-file.component.ts index eeb2a3fd8..fac3dfb3a 100644 --- a/client/src/app/shared/shared-forms/reactive-file.component.ts +++ b/client/src/app/shared/shared-forms/reactive-file.component.ts | |||
@@ -52,7 +52,7 @@ export class ReactiveFileComponent implements OnInit, ControlValueAccessor { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | const extension = '.' + file.name.split('.').pop() | 54 | const extension = '.' + file.name.split('.').pop() |
55 | if (this.extensions.includes(extension) === false) { | 55 | if (this.extensions.includes(extension.toLowerCase()) === false) { |
56 | const message = $localize`PeerTube cannot handle this kind of file. Accepted extensions are ${this.allowedExtensionsMessage}}.` | 56 | const message = $localize`PeerTube cannot handle this kind of file. Accepted extensions are ${this.allowedExtensionsMessage}}.` |
57 | this.notifier.error(message) | 57 | this.notifier.error(message) |
58 | 58 | ||