Skip to content

Commit

Permalink
Fix game version filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Nov 3, 2024
1 parent 6b64fda commit 7c4dcb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/src/pages/search/[searchProjectType].vue
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ const filters = computed(() => {
}
}
if (!server || serverOverrideGameVersions.value || projectType.value.id === "modpack") {
if (!server.value || serverOverrideGameVersions.value || projectType.value.id === "modpack") {
filters.gameVersion = tags.value.gameVersions
.filter((x) => (showSnapshots.value ? true : x.version_type === "release"))
.map((x) => ({ name: x.version, type: "gameVersion" }));
Expand Down

0 comments on commit 7c4dcb2

Please sign in to comment.