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/go back in history #344

Merged
merged 8 commits into from
Feb 27, 2025

Conversation

jeafreezy
Copy link
Collaborator

This PR will be fixing #340.

Description

The fix redirects the user to the model card, regardless of how they get to the page. Unlike before, it relies on react-routers navigate(-1). But now, since we know the model ID, we are rerouting the users to the model card/details.

The back button on the model card also now always goes back to the model's list page.

Demo

Screen.Recording.2025-02-25.at.15.57.50.mov

@kshitijrajsharma kshitijrajsharma merged commit 51459df into hotosm:develop Feb 27, 2025
3 checks passed
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.

2 participants