Add game version warning for shaders (#5227)

This commit is contained in:
Prospector
2026-01-28 11:43:58 -08:00
committed by GitHub
parent 4c14339b4b
commit 728f8db7b9
4 changed files with 22 additions and 2 deletions

View File

@@ -228,7 +228,11 @@ export function useSearch(
query_value: gameVersion.version,
method: 'or',
})),
ordering: projectTypes.value.includes('mod') ? 2 : undefined,
ordering: projectTypes.value.includes('mod')
? 2
: projectTypes.value.includes('shader')
? -1
: undefined,
},
{
id: 'mod_loader',