mirror of
https://github.com/iptv-org/iptv
synced 2026-11-03 15:54:23 -05:00
Update util.js
Resolved 'Cannot read property 'toLowerCase' of undefined' error
This commit is contained in:
1 parent
1b9051fa5d
commit
c7f08713e0
1 file changed
+2
@@ -44,6 +44,8 @@ class Channel {
|
||||
}
|
||||
|
||||
_getGroup(groupTitle) {
|
||||
if(!groupTitle) return ''
|
||||
|
||||
const groupIndex = supportedGroups.map(g => g.toLowerCase()).indexOf(groupTitle.toLowerCase())
|
||||
|
||||
if(groupIndex === -1) {
|
||||
|
||||
Reference in new issue
Block a user