mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-11 17:40:05 -04:00
Update store.js
This commit is contained in:
parent
faaf89aa28
commit
87d01e14a8
1 changed files with 3 additions and 0 deletions
|
@ -177,6 +177,9 @@ export function transformChannel(channel, data) {
|
|||
channel.is_blocked = !!data.blocklist[channel.id]
|
||||
channel.streams = channel._streams.length
|
||||
channel.guides = channel._guides.length
|
||||
channel.blocklist_records = Array.isArray(data.blocklist[channel.id])
|
||||
? data.blocklist[channel.id]
|
||||
: []
|
||||
|
||||
const isChannelNameRepeated = data.nameIndex[channel.name.toLowerCase()].length > 1
|
||||
channel.displayName = isChannelNameRepeated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue