From 94e17a52c3842e003ee7eb91901977e14cd286f5 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Wed, 6 Dec 2023 23:18:24 +0300 Subject: [PATCH] Update store.js --- src/store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store.js b/src/store.js index f0405b1e3..a78c2954b 100644 --- a/src/store.js +++ b/src/store.js @@ -143,6 +143,7 @@ async function loadAPI() { api.guides = await fetch('https://iptv-org.github.io/api/guides.json') .then(r => r.json()) .then(data => (data.length ? data : [])) + .then(data => data.filter(guide => guide.channel)) .then(data => _.sortBy(data, 'lang')) .then(data => _.groupBy(data, 'channel')) .catch(err => {