Skip to content

Commit

Permalink
fix: vl-wizard - het wizard-pane verscheen niet (was al stuk sinds v1…
Browse files Browse the repository at this point in the history
….0.0)
  • Loading branch information
kspeltix committed Nov 29, 2023
1 parent 616e378 commit efb5761
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const getLastElement = (element: any) => {
const [lastItem] = [...Array(document.querySelectorAll(element))].slice(-1);
const [lastItem] = [...document.querySelectorAll(element)].slice(-1);
return lastItem;
};

Expand Down
2 changes: 1 addition & 1 deletion libs/components/src/wizard/vl-wizard.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class VlWizard extends BaseLitElement {
}

onSlotChange() {
this.panes = [...Array(this.querySelectorAll('vl-wizard-pane'))];
this.panes = [...this.querySelectorAll('vl-wizard-pane')];
}

updated() {
Expand Down

0 comments on commit efb5761

Please sign in to comment.