Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If your route title resolves to just a number, it crashes the map view #1781

Closed
Wotuu opened this issue Jun 2, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Wotuu
Copy link
Contributor

Wotuu commented Jun 2, 2023

Say that you name your route "+20" it will resolve to '20' in the URL (slug). And that will cause issues in the parsing of the URL while creating map elements.

@Wotuu Wotuu added the bug Something isn't working label Jun 2, 2023
@Wotuu Wotuu self-assigned this Jun 2, 2023
Wotuu added a commit that referenced this issue Jun 2, 2023
This fixes an issue when someone is not on /1 page and has their route name resolve to an integer. It'll then think the floor index is the route title and all kinds of things break.
@Wotuu Wotuu closed this as completed Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant