mirror of
https://github.com/iptv-org/iptv
synced 2026-04-29 14:17:03 -04:00
Create scripts/store/getters
This commit is contained in:
5
scripts/store/getters/tvg_country.js
Normal file
5
scripts/store/getters/tvg_country.js
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = function () {
|
||||
if (this.tvg_country) return this.tvg_country
|
||||
|
||||
return Array.isArray(this.countries) ? this.countries.map(i => i.code).join(';') : ''
|
||||
}
|
||||
Reference in New Issue
Block a user