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:
teaSummer
2025-09-20 20:07:30 +08:00
committed by GitHub
parent ff50964f25
commit 0b8762cd0a
2 changed files with 13 additions and 7 deletions

View File

@@ -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
}