From 7e050a699d072356db479aa4743ad94235970196 Mon Sep 17 00:00:00 2001 From: MasutaYunikon Date: Tue, 24 Mar 2026 02:54:12 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20badge=20catalogue=20sur=20les=20series?= =?UTF-8?q?=20import=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/index.ts b/server/index.ts index 2a64f27..78cd9c2 100644 --- a/server/index.ts +++ b/server/index.ts @@ -383,7 +383,7 @@ app.get('/api/series', requireAuth, async (_req, res) => { const { category } = readSettings() const active = await dispatchList(category ?? 'fankai') for (const t of active) { - if (t.hash) activeTorrents.add(t.hash.toLowerCase()) + if (t.hash && t.state === 'downloading') activeTorrents.add(t.hash.toLowerCase()) } } catch {}