Skip to content

Commit

Permalink
Merge pull request #1587 from nickgros/PORTALS-3429
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgros authored Feb 20, 2025
2 parents 2758ee5 + 5faa571 commit 41b00e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/portals/adknowledgeportal/src/config/routesConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const routes: RouteObject[] = [
modelADStrainsSelectedFacet.facetValue
}"]}]}`,
}}
replace={true}
/>
),
},
Expand All @@ -69,7 +70,7 @@ const routes: RouteObject[] = [
{
// PORTALS-2919: Redirect DataAccess/Instructions to /Data Access
path: 'DataAccess/Instructions',
element: <Navigate to="/Data Access" />,
element: <Navigate to="/Data Access" replace={true} />,
},
{
path: 'Explore',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default function RedirectWithQuery(props: NavigateProps) {
return (
<Navigate
{...props}
replace={true}
to={{
pathname: props.to as string,
search,
Expand Down

0 comments on commit 41b00e0

Please sign in to comment.