-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
ui: fix link to problem ranges #49122
ui: fix link to problem ranges #49122
Conversation
Release note (admin ui change): Fixed bug where link to specific problem ranges had an incorrect path. Problem ranges are now linked correctly again.
@koorosh was there a change in React Router 4 that requires |
As far as I know, one of the major changes is that Before migration to <Route path="reports">
<Route path="problemranges" component={ ProblemRanges }>...</Route>
...
<Route path={`range/:${rangeIDAttr}`} component={ Range } />
</Route> now: <Route path="/">
<Layout>
<Switch>
...
<Route exact path="/reports/problemranges" component={ ProblemRanges } />
<Route exact path={`/reports/range/:${rangeIDAttr}`} component={ Range } />
</Switch>
</Layout>
</Route> Before, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the explanation @koorosh! I checked a few others I was able to find that didn't have |
bors r+ |
Build succeeded |
Release note (admin ui change): Fixed bug where link to
specific problem ranges had an incorrect path. Problem
ranges are now linked correctly again.
This closes #48559