Skip to content

Commit

Permalink
Fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 3, 2022
1 parent b20be13 commit 8222ae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion panel/tests/widgets/test_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def high_red(value):

model = table.get_root(document, comm)

assert model.styles == {
assert model.styles['data'] == {
0: {1: [('color', 'black')]},
1: {1: [('color', 'black')]},
2: {1: [('color', 'black')]},
Expand Down
2 changes: 1 addition & 1 deletion panel/widgets/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def _get_properties(self, source):
props['fit_columns'] = self.fit_columns
if 'autosize_mode' in DataTable.properties():
props['frozen_columns'] = self.frozen_columns
props['frozen_rows'] = self.frozen_bows
props['frozen_rows'] = self.frozen_rows
props['autosize_mode'] = self.autosize_mode
props['auto_edit'] = self.auto_edit
props['row_height'] = self.row_height
Expand Down

0 comments on commit 8222ae2

Please sign in to comment.