From 44bcf8150832042c9706cc8e3e4dee8c19db9689 Mon Sep 17 00:00:00 2001 From: Wolfgang Meier Date: Thu, 2 May 2024 16:03:10 +0200 Subject: [PATCH] fix(pb-grid): remove panel broken --- src/pb-grid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pb-grid.js b/src/pb-grid.js index 41d03bb7..e071eb9d 100644 --- a/src/pb-grid.js +++ b/src/pb-grid.js @@ -193,7 +193,7 @@ export class PbGrid extends pbMixin(LitElement) { console.log(' 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();