Skip to content

Commit

Permalink
Fix render params is None
Browse files Browse the repository at this point in the history
  • Loading branch information
s-cork committed Nov 20, 2023
1 parent 50071fe commit 262738e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_code/Tabulator/_custom_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def cell_render(self, cell):
component.visible = True
renderCallback = cell.column.definition.get("cellRender", None)
if renderCallback:
renderParams = cell.column.definition.get("cellRenderParams", {})
renderParams = cell.column.definition.get("cellRenderParams", None) or {}
if callable(renderParams):
renderParams = renderParams()
renderCallback(cell.getComponent(), **renderParams)
Expand Down

0 comments on commit 262738e

Please sign in to comment.