mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Synthetics] Fix step details current step edge case (#150687)
## Summary Fixes https://github.com/elastic/kibana/issues/150612
This commit is contained in:
parent
30745e236a
commit
38cb7b3fd2
1 changed files with 2 additions and 6 deletions
|
@ -34,10 +34,6 @@ export const StepDetailPage = () => {
|
|||
|
||||
useStepDetailsBreadcrumbs();
|
||||
|
||||
const activeStep = data?.steps?.find(
|
||||
(step) => step.synthetics?.step?.index === Number(stepIndex)
|
||||
);
|
||||
|
||||
const dispatch = useDispatch();
|
||||
|
||||
useEffect(() => {
|
||||
|
@ -51,7 +47,7 @@ export const StepDetailPage = () => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<ErrorCallOut step={activeStep} />
|
||||
<ErrorCallOut step={currentStep} />
|
||||
{data?.details?.journey?.config_id && (
|
||||
<MonitorDetailsLinkPortal
|
||||
configId={data.details.journey.config_id}
|
||||
|
@ -109,7 +105,7 @@ export const StepDetailPage = () => {
|
|||
<WaterfallChartContainer
|
||||
checkGroup={checkGroupId}
|
||||
stepIndex={Number(stepIndex)}
|
||||
activeStep={activeStep}
|
||||
activeStep={currentStep}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue