Skip to content

Commit

Permalink
fix(components/molecule/stepper): minor corner case
Browse files Browse the repository at this point in the history
  • Loading branch information
andresin87 committed Oct 30, 2023
1 parent 08fc86e commit 19e8bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/molecule/stepper/src/Step/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ export const getLabel = ({label, steps, step, design, current}) => {
if (design === DESIGN.DEFAULT) return label
else if (design === DESIGN.BASIC) return label
else if (design === DESIGN.COMPRESSED && current)
return `${step}/${steps}: ${label}`
return `${step}/${steps}:${label ? ` ${label}` : ''}`
}

0 comments on commit 19e8bfa

Please sign in to comment.