Fix unknown video language label

pull/2646/head
Chocobozzz 2020-04-16 17:04:02 +02:00
parent 14cbb9a65a
commit bb3933ef37
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,8 @@ export class MenuComponent implements OnInit {
}
langForLocale (localeId: string) {
if (localeId === '_unknown') return this.i18n('Unknown')
return this.languages.find(lang => lang.id === localeId).label
}