mirror of
https://github.com/iptv-org/iptv
synced 2026-10-31 07:14:18 -04:00
Update util.js
Resolved 'Cannot read property 'toLowerCase' of undefined' error
This commit is contained in:
1 parent
f6e38d4c19
commit
2db717f7e0
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