Skip to content

Commit

Permalink
Merge pull request #23 from baloise/fix/workaround_wizard_overview_ds…
Browse files Browse the repository at this point in the history
…_15.0.2

Fix/workaround wizard overview ds 15.0.2
  • Loading branch information
daniel-battaglia authored Dec 21, 2023
2 parents 63e5b2f + d48b0f9 commit 52d68c5
Show file tree
Hide file tree
Showing 2 changed files with 4 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
1 change: 1 addition & 0 deletions projects/lib/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ export * from './form/form-config'
export * from './form/form-control-visibility-handler'
export * from './form/form-util'
export * from './form/form-wrapper'
export * from './form/form-wizard/models'

0 comments on commit 52d68c5

Please sign in to comment.