Create scripts/store/getters

This commit is contained in:
Aleksandr Statciuk
2021-12-12 07:11:50 +03:00
parent 82c242a1b6
commit df6af6dec0
8 changed files with 49 additions and 0 deletions

View 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(';') : ''
}