@if (orientation === "horizontal") {
@for (step of steps; track $index; let isLast = $last) { @let isCurrentStepDisabled = isStepDisabled($index); @if (!isLast) {
} }
@for (step of steps; track $index; let isLast = $last) {
@if (selectedIndex === $index) {
}
} } @else { @for (step of steps; track $index; let isLast = $last) { @let isCurrentStepDisabled = isStepDisabled($index);
@if (selectedIndex === $index) {
}
} }