diff --git a/helpers/util.js b/helpers/util.js index 38ac4637b0..1165b7971f 100644 --- a/helpers/util.js +++ b/helpers/util.js @@ -44,6 +44,8 @@ class Channel { } _getGroup(groupTitle) { + if(!groupTitle) return '' + const groupIndex = supportedGroups.map(g => g.toLowerCase()).indexOf(groupTitle.toLowerCase()) if(groupIndex === -1) {