Make it so if a category is selected, it'll only show the versions from that category

This commit is contained in:
Lncvrt committed 2026-02-10 16:02:11 -07:00
1 parent 51cd3c3620
commit 4a96911885
1 file changed
+1
+1
View File
@@ -101,6 +101,7 @@ export default function RootLayout ({
return false
if (game && v.game != game) return false
if (category != -1 && v.category != category) return false
if (downloadProgress.length != 0) {
return !downloadProgress.some(d => d.version === v.id)
}