mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ML] Fixing single to multi metric wizard redirect (#152547)
Typo in redirect path introduced in [this PR](https://github.com/elastic/kibana/pull/149590)
This commit is contained in:
parent
daaa7ea1ea
commit
446f04d7b2
1 changed files with 7 additions and 8 deletions
|
@ -127,14 +127,13 @@ export const multiMetricRouteFactory = (
|
|||
// redirect route to reset the job wizard when converting to multi metric job
|
||||
export const multiMetricRouteFactoryRedirect = (): MlRoute => ({
|
||||
path: createPath(ML_PAGES.ANOMALY_DETECTION_CREATE_JOB_CONVERT_TO_MULTI_METRIC),
|
||||
render: (props) => (
|
||||
<Redirect
|
||||
to={createPath(
|
||||
ML_PAGES.ANOMALY_DETECTION_CREATE_JOB_CONVERT_TO_MULTI_METRIC,
|
||||
props.location.search
|
||||
)}
|
||||
/>
|
||||
),
|
||||
render: (props) => {
|
||||
return (
|
||||
<Redirect
|
||||
to={createPath(ML_PAGES.ANOMALY_DETECTION_CREATE_JOB_MULTI_METRIC, props.location.search)}
|
||||
/>
|
||||
);
|
||||
},
|
||||
|
||||
breadcrumbs: [],
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue