-
Notifications
You must be signed in to change notification settings - Fork 516
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
Back Button is not working proper in the camera configuration page #9233
Comments
I would like to work on this @nihal467 |
@nihal467 @rithviknishad If the location of the asset has bed in them but if the asset facility doesn't have any bed in them, then the url is normal like /facility/sdu-sf-dsf-fdf/assets/dsf-sdfds-0dsf0/configure so |
Yes, we are using the query param to store the state for currently selected bed to be configured. We could skip the setting of query param when the asset bed list request completes initially, instead just use the first bed as the fallback if no query param is set. |
This is the error @rithviknishad @nihal467 The history is like this so , when we go on /configure then when I click back so you can see so i think we need to handle this useEffect hook maybe we can just not change the url on initial render , keep it /configure? |
Let's remove that useEffect hook (line 96 to 100) altogether. And modify the |
Describe the bug
The back button on the Camera Configuration page does not take the user to the previously accessed page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The back button in the breadcrumbs should navigate the user to the previously accessed page.
Screenshots
The text was updated successfully, but these errors were encountered: