Show Odido sync reenabled and playOk counts in live-lists summary.
This commit is contained in:
parent
2d50d8948a
commit
852a91cbed
1 changed files with 3 additions and 3 deletions
|
|
@ -325,16 +325,16 @@ export default function LiveListsPage() {
|
||||||
const parts = [
|
const parts = [
|
||||||
d.added != null ? `+${d.added} nieuw` : null,
|
d.added != null ? `+${d.added} nieuw` : null,
|
||||||
d.updated != null ? `${d.updated} bijgewerkt` : null,
|
d.updated != null ? `${d.updated} bijgewerkt` : null,
|
||||||
|
d.reenabled != null && d.reenabled > 0 ? `${d.reenabled} weer aan` : null,
|
||||||
d.disabled != null ? `${d.disabled} uit` : null,
|
d.disabled != null ? `${d.disabled} uit` : null,
|
||||||
d.skipped != null ? `${d.skipped} overgeslagen` : null,
|
d.playOk != null ? `play ${d.playOk}` : null,
|
||||||
d.failed != null ? `${d.failed} mislukt` : null,
|
d.skipped != null && d.skipped > 0 ? `geen-play ${d.skipped}` : null,
|
||||||
d.uniqueChannels != null ? `${d.uniqueChannels} uniek` : null,
|
d.uniqueChannels != null ? `${d.uniqueChannels} uniek` : null,
|
||||||
d.overlapChannels != null && d.overlapChannels > 0
|
d.overlapChannels != null && d.overlapChannels > 0
|
||||||
? `${d.overlapChannels} overlap`
|
? `${d.overlapChannels} overlap`
|
||||||
: null,
|
: null,
|
||||||
d.accounts != null ? `${d.accounts} acc` : null,
|
d.accounts != null ? `${d.accounts} acc` : null,
|
||||||
d.epgMatched != null ? `EPG ${d.epgMatched}` : null,
|
d.epgMatched != null ? `EPG ${d.epgMatched}` : null,
|
||||||
d.epgUnmatched != null && d.epgUnmatched > 0 ? `EPG-miss ${d.epgUnmatched}` : null,
|
|
||||||
d.durationMs != null ? `${Math.round(d.durationMs / 1000)}s` : null,
|
d.durationMs != null ? `${Math.round(d.durationMs / 1000)}s` : null,
|
||||||
].filter(Boolean);
|
].filter(Boolean);
|
||||||
setMsg(`Odido-sync klaar: ${parts.join(" · ") || "ok"}`);
|
setMsg(`Odido-sync klaar: ${parts.join(" · ") || "ok"}`);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue