Skip to content

Commit

Permalink
fix(pb-grid): remove panel broken
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangmm committed May 2, 2024
1 parent 2e893d3 commit 44bcf81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pb-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export class PbGrid extends pbMixin(LitElement) {
console.log('<pb-grid> Removing panel %d', idx);
this.panels.splice(this.direction === 'rtl' ? this.panels.length - idx - 1 : idx, 1);

container.parentNode.removeChild(panel);
container.parentNode.removeChild(container);
this._columns -= 1;
registry.commit(this, this._getState());
this._assignPanelIds();
Expand Down

0 comments on commit 44bcf81

Please sign in to comment.