We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b7ffcb + a94e21e commit 020cbc8Copy full SHA for 020cbc8
packages/pf4-component-mapper/src/wizard/wizard-components/wizard-nav.js
@@ -24,7 +24,7 @@ const WizardNavigationInternal = React.memo(
24
<WizardNav>
25
{navSchema
26
.filter((field) => field.primary)
27
- .map((step, ind) => {
+ .map((step) => {
28
const substeps = step.substepOf && navSchema.filter((field) => field.substepOf === step.substepOf);
29
30
const isValid = valid && !validating;
@@ -37,7 +37,7 @@ const WizardNavigationInternal = React.memo(
37
isDisabled={isValid ? maxStepIndex < step.index : step.index > activeStepIndex}
38
onClick={(e) => {
39
e.preventDefault();
40
- jumpToStep(ind, isValid);
+ jumpToStep(step.index, isValid);
41
}}
42
step={step.index}
43
type="button"
0 commit comments