Update editor.ts
This commit is contained in:
1 parent
0ff123b7b1
commit
5b46419c6c
1 file changed
+1
@@ -150,6 +150,7 @@ function getOptions(channelsIndex, channel: Channel) {
|
||||
const query = channel.name
|
||||
.replace(/\s(SD|TV|HD|SD\/HD|HDTV)$/i, '')
|
||||
.replace(/(\(|\)|,)/gi, '')
|
||||
.replace(/\-/gi, ' ')
|
||||
.replace(/\+/gi, '')
|
||||
const similar = channelsIndex.search(query).map(item => new ApiChannel(item))
|
||||
|
||||
|
||||
Reference in new issue
Block a user