fix(stepper): don't grey out non-linear steps (#7479)

Fixes #7260.
This commit is contained in:
Kristiyan Kostadinov
2017-10-06 22:26:26 +02:00
committed by Kara
parent 5b7982f278
commit 60707b385a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
[icon]="_getIndicatorType(i)"
[label]="step.stepLabel || step.label"
[selected]="selectedIndex === i"
[active]="step.completed || selectedIndex === i"
[active]="step.completed || selectedIndex === i || !linear"
[optional]="step.optional">
</mat-step-header>
<div *ngIf="!isLast" class="mat-stepper-horizontal-line"></div>
+1 -1
View File
@@ -10,7 +10,7 @@
[icon]="_getIndicatorType(i)"
[label]="step.stepLabel || step.label"
[selected]="selectedIndex === i"
[active]="step.completed || selectedIndex === i"
[active]="step.completed || selectedIndex === i || !linear"
[optional]="step.optional">
</mat-step-header>