Fix missing is_archive updates

This commit is contained in:
Jared Schoeny
2025-12-24 00:36:02 -10:00
parent 3d5db2ed3c
commit 6d06767e28
4 changed files with 17 additions and 17 deletions

View File

@@ -127,7 +127,7 @@ export default function DiscoverBrowser({ initialSort = "trending" }: DiscoverBr
}
// Filter to hacks whose base ROM is ready (linked with permission or cached)
if (onlyReady) {
out = out.filter((h) => !h.isArchive && h.baseRomId && readyBaseRomIds.has(h.baseRomId));
out = out.filter((h) => !h.is_archive && h.baseRomId && readyBaseRomIds.has(h.baseRomId));
}
return out;
}, [hacks, query, selectedTags, selectedBaseRoms, onlyReady, readyBaseRomIds]);