Skip to content

Commit

Permalink
fix: generateSelectPage should filter for "access", not
Browse files Browse the repository at this point in the history
"startinglocation".
  • Loading branch information
grappigegovert committed Jan 22, 2025
1 parent e8a64d9 commit 3f8b771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/menuData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ function generateSelectPage(
.filter(
(item) =>
item.Unlockable.Type ===
(page === "Pickup" ? "agencypickup" : "startinglocation") &&
(page === "Pickup" ? "agencypickup" : "access") &&
item.Unlockable.Properties.Difficulty ===
contractData.Metadata.Difficulty &&
item.Unlockable.Properties.RepositoryId,
Expand Down

0 comments on commit 3f8b771

Please sign in to comment.