Closed carylwyatt closed 1 year ago
Name | Link |
---|---|
Latest commit | e5c7b22a27f85e517c23b4098f7fffbf2a0f6d87 |
Latest deploy log | https://app.netlify.com/sites/hathitrust-firebird-common/deploys/650b46aa62c2000008ee923e |
Deploy Preview | https://deploy-preview-48--hathitrust-firebird-common.netlify.app/ |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Problem
When in catalog (or website), if user chooses to switch roles via the navbar login/account button, the user is sent back to the website homepage instead of the page they were on.
Fix
/components/Navbar/index.js
(line 434)I borrowed the code from Roger's logout redirect just below this in the same file.
babel-local-dev
doesn't haveping
(or at least mine doesn't), so I tested this on https://dev-3.catalog.hathitrust.org/Search/HomeTest it
Conduct search, open catalog record, log in and switch role to CAA-- you should be redirected back to the page you were on.