Skip to content

Commit

Permalink
Adjusting with the latest base branch changes
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-qb committed Oct 26, 2023
1 parent 16b3a1c commit 4257a49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
14 changes: 0 additions & 14 deletions vizro-core/src/vizro/charts/tables/dash_table.py

This file was deleted.

4 changes: 1 addition & 3 deletions vizro-core/src/vizro/models/_components/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ def pre_build(self):
def build(self):
# TODO: We also need to take case what empty object we need to create here once we support AgGrid and others.
dash_datatable_object = (
dash_table.DataTable(id=self._underlying_table_id, data=pd.DataFrame().to_dict("records"), columns=[])
if self.actions
else dash_table.DataTable(data=pd.DataFrame().to_dict("records"), columns=[])
dash_table.DataTable(id=self._underlying_table_id) if self.actions else dash_table.DataTable()
)

return html.Div(
Expand Down

0 comments on commit 4257a49

Please sign in to comment.