Fix unknown video language label
This commit is contained in:
parent
14cbb9a65a
commit
bb3933ef37
|
@ -166,6 +166,8 @@ export class MenuComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
langForLocale (localeId: string) {
|
langForLocale (localeId: string) {
|
||||||
|
if (localeId === '_unknown') return this.i18n('Unknown')
|
||||||
|
|
||||||
return this.languages.find(lang => lang.id === localeId).label
|
return this.languages.find(lang => lang.id === localeId).label
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue