iptv/scripts/store/getters/tvg_language.js

14 lines
269 B
JavaScript
Raw Normal View History

2021-12-12 05:11:50 +01:00
module.exports = function () {
2022-02-11 17:56:11 +01:00
if (this.tvg_language) return this.tvg_language
if (this.languages.length) {
return this.languages
.map(language => (language ? language.name : null))
.filter(l => l)
.sort()
.join(';')
}
return ''
2021-12-12 05:11:50 +01:00
}