Skip to content

Fix match map links missing venue addresses - #377

Merged
terijaki merged 1 commit into
mainfrom
terijaki/496321d8
Jul 26, 2026
Merged

Fix match map links missing venue addresses#377
terijaki merged 1 commit into
mainfrom
terijaki/496321d8

Conversation

@terijaki

Copy link
Copy Markdown
Owner

Summary

  • Pass nested SAMS location.address fields (street, postcode, city) into MapsLink on past and future match lists.
  • Keeps the displayed label as the venue name only, while Apple/Google map URLs include the full address when available.

Test plan

  • Open a matches view (team page or schedule) and inspect a venue map link
  • Confirm the visible text is still only the venue name
  • Confirm the Apple/Google URL query includes street, postal code, and city when SAMS provides them (not just Name, )
  • Spot-check homepage home-game map links still work (unchanged wiring)

Matches was spreading the location object into MapsLink, which expects flat street/postal/city props, so Apple/Google links only contained the venue name.
@terijaki
terijaki merged commit 9eae8e8 into main Jul 26, 2026
6 checks passed
@terijaki
terijaki deleted the terijaki/496321d8 branch July 26, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant