Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Aug 24, 2023
1 parent 56e3982 commit 567638b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions panel/models/reactive_html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion panel/models/tabulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 567638b

Please sign in to comment.