mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update update-readme.ts
This commit is contained in:
parent
6c00f0b7c9
commit
e9303a4e27
1 changed files with 2 additions and 2 deletions
|
@ -132,9 +132,9 @@ function generateTable(guides: Guide[], header: string[]) {
|
||||||
for (let guide of guides) {
|
for (let guide of guides) {
|
||||||
const size = guides.filter((g: Guide) => g.name === guide.name).length
|
const size = guides.filter((g: Guide) => g.name === guide.name).length
|
||||||
if (!guide.name) continue
|
if (!guide.name) continue
|
||||||
let root = output.indexOf(guide.name) === -1
|
|
||||||
const rowspan = root && size > 1 ? ` rowspan="${size}"` : ''
|
|
||||||
const name = `${guide.flag} ${guide.name}`
|
const name = `${guide.flag} ${guide.name}`
|
||||||
|
let root = output.indexOf(name) === -1
|
||||||
|
const rowspan = root && size > 1 ? ` rowspan="${size}"` : ''
|
||||||
let status = '🟢'
|
let status = '🟢'
|
||||||
if (guide.emptyGuides === guide.channelCount) status = '🔴'
|
if (guide.emptyGuides === guide.channelCount) status = '🔴'
|
||||||
else if (guide.emptyGuides > 0) status = '🟡'
|
else if (guide.emptyGuides > 0) status = '🟡'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue