Skip to content

Commit 76ac031

Browse files
abelsiqueirac-martinez
authored andcommitted
Don't say optional on Finish step
1 parent f89bad2 commit 76ac031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Stepper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
v-for="(step, stepIndex) in stepNames"
1717
v-bind:active-icon="activeIcon(currentStepIndex > stepIndex && errorPerStep[step].value, step)"
1818
v-bind:aria-label="toLabel(step)"
19-
v-bind:caption="stepIndex < 2 ? 'required' : 'optional'"
19+
v-bind:caption="stepIndex < 2 ? 'required' : (step !== 'finish' ? 'optional' : '')"
2020
v-bind:data-cy="`step-${step}`"
2121
v-bind:done="screenVisited(step) && !errorPerStep[step].value"
2222
v-bind:error="currentStepIndex != stepIndex && screenVisited(step) && errorPerStep[step].value"

0 commit comments

Comments
 (0)