mirror of
https://github.com/iptv-org/iptv
synced 2026-11-05 16:54:16 -05:00
Create scripts/store/getters
This commit is contained in:
1 parent
82c242a1b6
commit
df6af6dec0
8 files changed
+49
No files matched your search
@@ -0,0 +1,12 @@
|
||||
module.exports = function () {
|
||||
if (this.group_title) return this.group_title
|
||||
|
||||
if (Array.isArray(this.categories)) {
|
||||
return this.categories
|
||||
.map(i => i.name)
|
||||
.sort()
|
||||
.join(';')
|
||||
}
|
||||
|
||||
return ''
|
||||
}
|
||||
Reference in new issue
Block a user