mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2025-03-06 12:47:19 +00:00
Merge pull request #434 from jellyfin/fix/undefinedSubtitle
fix(item details): fix #433 - undefined country code
This commit is contained in:
commit
25e9a79752
@ -410,7 +410,8 @@ export default Vue.extend({
|
||||
},
|
||||
methods: {
|
||||
...mapActions('backdrop', ['setBackdrop', 'clearBackdrop']),
|
||||
getLanguageName(code: string) {
|
||||
getLanguageName(code?: string) {
|
||||
if (!code) return '';
|
||||
return langs.where('2B', code).name;
|
||||
},
|
||||
getSurroundIcon(layout: string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user