Skip to content

Commit

Permalink
fix(): workaround for steps in wizard overview not hidden due to ds bug
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-battaglia committed Dec 21, 2023
1 parent 3c95373 commit d48b0f9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ export class WizardOverviewComponent implements OnInit {

@Input()
set steps(steps: WizardStep[]) {
this._steps = steps
// TODO: remove when https://github.com/baloise/design-system/issues/1246 is resolved
// step.filter() was added as a workaround to fix an issue introduced with Design System 15.0.2
this._steps = steps.filter(s => s.visible && s.enabled)
}

ngOnInit(): void {
Expand Down

0 comments on commit d48b0f9

Please sign in to comment.