You've already forked AstralRinth
forked from didirus/AstralRinth
fix(app): properly show all versions and notify loaders (#4395)
* fix(app): properly show all versions and notify loaders * fix lint
This commit is contained in:
@@ -1664,6 +1664,12 @@ if (!route.name.startsWith('type-id-settings')) {
|
||||
const onUserCollectProject = useClientTry(userCollectProject)
|
||||
|
||||
const { version, loader } = route.query
|
||||
if (
|
||||
project.value.game_versions.length > 0 &&
|
||||
project.value.game_versions.every((v) => v.includes('w') || v.includes('-'))
|
||||
) {
|
||||
showAllVersions.value = true
|
||||
}
|
||||
if (version !== undefined && project.value.game_versions.includes(version)) {
|
||||
userSelectedGameVersion.value = version
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user