From 55d3689e1b1455c9fbbbd3478a8101e370d83099 Mon Sep 17 00:00:00 2001 From: freearhey Date: Fri, 1 Nov 2019 17:11:31 +0300 Subject: [PATCH] Renamed getGroup to filterGroup --- helpers/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/util.js b/helpers/util.js index 3ac8eec1fe..1532c12b6c 100644 --- a/helpers/util.js +++ b/helpers/util.js @@ -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())