fix: le bouton rename n'apparait plus quand on utilise differents torrents entre les épisode
This commit is contained in:
1 parent
260fd10bf0
commit
0d5d44a484
1 file changed
+1
-1
@@ -147,7 +147,7 @@ router.get('/organized/:serieId', requireAuth, async (req, res) => {
|
||||
if (typeof p !== 'object' || !p.infohash) continue
|
||||
const hash = p.infohash.toLowerCase()
|
||||
const entry = (organized[hash] ?? {})[String(ep.id)]
|
||||
if (entry) { result[String(ep.id)] = entry; break }
|
||||
if (entry) { result[String(ep.id)] = { ...entry, hash }; break }
|
||||
}
|
||||
if (!result[String(ep.id)] && organized['manual']?.[String(ep.id)]) {
|
||||
result[String(ep.id)] = organized['manual'][String(ep.id)]
|
||||
|
||||
Reference in new issue
Block a user