Update util.js

Resolved 'Cannot read property 'toLowerCase' of undefined' error
what-a-patch-1
freearhey 6 years ago
parent 1b9051fa5d
commit c7f08713e0

@ -44,6 +44,8 @@ class Channel {
}
_getGroup(groupTitle) {
if(!groupTitle) return ''
const groupIndex = supportedGroups.map(g => g.toLowerCase()).indexOf(groupTitle.toLowerCase())
if(groupIndex === -1) {

Loading…
Cancel
Save