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.
1 parent d2c1838 commit 2e37b4aCopy full SHA for 2e37b4a
projects/sbb-esta/angular-public/src/lib/processflow/processflow/processflow.component.ts
@@ -77,7 +77,10 @@ export class ProcessflowComponent implements AfterContentInit {
77
*/
78
stepClick($event: any, stepIndex: number) {
79
$event.preventDefault();
80
- this.changeStep(stepIndex);
+ const currentIndex = this._findActiveStepIndex(this.steps.toArray());
81
+ if (stepIndex < currentIndex) {
82
+ this.changeStep(stepIndex);
83
+ }
84
}
85
/**
86
* Method to change a step in a process flow.
0 commit comments