fix: badge catalogue sur les series importé

This commit is contained in:
MasutaYunikon committed 2026-03-24 02:54:12 +01:00
1 parent a229a1eb3b
commit 7e050a699d
1 file changed
+1 -1
+1 -1
View File
@@ -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 {}