Skip to content

Commit

Permalink
[7.x] [Logs UI] Partial backport: Remove apollo deps from log link-to…
Browse files Browse the repository at this point in the history
… routes

Partially backports the following commits to 7.x:
 - [Logs UI] Remove apollo deps from log link-to routes (#74502)

This backport only includes the route fix for #74916 to make it
available in 7.9.x.
  • Loading branch information
weltenwort committed Aug 17, 2020
1 parent 7d6525e commit 17e24fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/infra/public/pages/link_to/link_to_logs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const LinkToLogsPage: React.FC<LinkToPageProps> = (props) => {
path={`${props.match.url}/:sourceId?/:nodeType(${ITEM_TYPES})-logs/:nodeId`}
component={RedirectToNodeLogs}
/>
<Route path={`${props.match.url}/:sourceId?/logs`} component={RedirectToLogs} />
<Route path={`${props.match.url}/:sourceId?`} component={RedirectToLogs} />
<Redirect to="/" />
</Switch>
Expand Down

0 comments on commit 17e24fa

Please sign in to comment.