Renamed getGroup to filterGroup

This commit is contained in:
freearhey 2019-11-01 17:11:31 +03:00
parent 5b50b72fd1
commit 55d3689e1b
1 changed files with 2 additions and 2 deletions

View File

@ -41,12 +41,12 @@ class Channel {
this.name = data.tvg.name
this.language = data.tvg.language
this.logo = data.tvg.logo
this.group = this._getGroup(data.group.title)
this.group = this._filterGroup(data.group.title)
this.url = data.url
this.title = data.name
}
_getGroup(groupTitle) {
_filterGroup(groupTitle) {
if(!groupTitle) return ''
const groupIndex = supportedCategories.map(g => g.toLowerCase()).indexOf(groupTitle.toLowerCase())