Fix typo
This commit is contained in:
parent
c6f8ca4d65
commit
8a2166c9bf
|
@ -57,7 +57,7 @@ export class ReactiveFileComponent implements OnInit, ControlValueAccessor {
|
|||
|
||||
const extension = '.' + file.name.split('.').pop()
|
||||
if (this.extensions.includes(extension.toLowerCase()) === false) {
|
||||
const message = $localize`PeerTube cannot handle this kind of file. Accepted extensions are ${this.allowedExtensionsMessage}}.`
|
||||
const message = $localize`PeerTube cannot handle this kind of file. Accepted extensions are ${this.allowedExtensionsMessage}.`
|
||||
this.notifier.error(message)
|
||||
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue