Make it so if a category is selected, it'll only show the versions from that category
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user