From 567638b278158a1f89225fd50850af2cf1341e91 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Thu, 24 Aug 2023 19:24:34 +0200 Subject: [PATCH] Minor cleanup --- panel/models/reactive_html.ts | 2 -- panel/models/tabulator.ts | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/panel/models/reactive_html.ts b/panel/models/reactive_html.ts index 83e31c7b62..c87bddd4bd 100644 --- a/panel/models/reactive_html.ts +++ b/panel/models/reactive_html.ts @@ -3,10 +3,8 @@ import {useCallback} from 'preact/hooks'; import {html} from 'htm/preact'; import {div} from "@bokehjs/core/dom" -import {build_views} from "@bokehjs/core/build_views" import {isArray} from "@bokehjs/core/util/types" import * as p from "@bokehjs/core/properties" -import {UIElementView} from "@bokehjs/models/ui/ui_element" import {LayoutDOM} from "@bokehjs/models/layouts/layout_dom" import {dict_to_records} from "./data" diff --git a/panel/models/tabulator.ts b/panel/models/tabulator.ts index 096844080a..fead7a73b1 100644 --- a/panel/models/tabulator.ts +++ b/panel/models/tabulator.ts @@ -296,7 +296,9 @@ export class DataTabulatorView extends HTMLBoxView { const p = this.model.properties const {configuration, layout, columns, groupby} = p; - this.on_change([configuration, layout, groupby], debounce(() => this.invalidate_render(), 20, false)) + this.on_change([configuration, layout, groupby], debounce(() => { + this.invalidate_render() + }, 20, false)) this.on_change([columns], () => { this.tabulator.setColumns(this.getColumns())