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

fix(frontend): handle numerical query params as strings #156

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

eatyourgreens
Copy link
Contributor

@eatyourgreens eatyourgreens commented Oct 10, 2024

Fix a small bug where a URL query param like netTree=19 would be passed as a number, but the URL handling code expects all query param values to be strings.

This bug can trigger in the Adaptations view, which resets the networks tree so that only one node is selected. Sharing or reloading that URL results in a map that won't render.

Fix a small bug where a URL query param like `netTree=19` would be passed as a number, but the URL handling code expects all query param values to be strings.
@eatyourgreens eatyourgreens merged commit 29e3118 into main Oct 10, 2024
2 checks passed
@eatyourgreens eatyourgreens deleted the fix-numerical-query-params branch October 10, 2024 14:27
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