From a339f3e9b10ca4897117fd45b0263c9be22b1e0d Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Wed, 19 Jun 2024 13:58:30 +0200 Subject: [PATCH] Ensure redraw does not error out if tabulator undefined --- panel/models/tabulator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/models/tabulator.ts b/panel/models/tabulator.ts index df5f92743c..48fdf658eb 100644 --- a/panel/models/tabulator.ts +++ b/panel/models/tabulator.ts @@ -444,7 +444,7 @@ export class DataTabulatorView extends HTMLBoxView { } redraw(columns: boolean = true, rows: boolean = true): void { - if (this._building) { + if (this._building || this.tabulator != null) { return } if (columns && (this.tabulator.columnManager.element != null)) {