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

Changed priority of backUrl and history for back button in pageTitle #6251

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

kshitijv256
Copy link
Contributor

@kshitijv256 kshitijv256 commented Sep 8, 2023

WHAT

🤖 Generated by Copilot at 4c0835f

Fixed a back button bug in useAppHistory hook. Changed the logic of the goBack function to use the fallback url first if available.

Proposed Changes

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

@kshitijv256 kshitijv256 requested a review from a team September 8, 2023 19:09
@kshitijv256 kshitijv256 requested a review from a team as a code owner September 8, 2023 19:09
@vercel
Copy link

vercel bot commented Sep 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 8, 2023 7:10pm

@netlify
Copy link

netlify bot commented Sep 8, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 4c0835f
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/64fb717f2ab8cf000821a6ea
😎 Deploy Preview https://deploy-preview-6251--care-egov-staging.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nihal467
Copy link
Member

LGTM

@khavinshankar khavinshankar merged commit 3d73c69 into ohcnetwork:develop Sep 11, 2023
27 of 28 checks passed
@rithviknishad
Copy link
Member

@kshitijv256 changing the precedence has caused issues in other pages. Hence #6285 fixes it by preventing the app from reloading in the first place, so that history stack is not lost.

@kshitijv256 kshitijv256 deleted the backBtn branch September 29, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in Back buttons (asset management)
4 participants