Correction bug style cell

This commit is contained in:
Colin Maudry
2026-01-31 01:33:26 +01:00
parent 8f5d38ff78
commit 75b42f4baf
+4 -3
View File
@@ -308,9 +308,10 @@ class DataTable(dash_table.DataTable):
style_cell_conditional = ( style_cell_conditional = (
style_cell_conditional or [] style_cell_conditional or []
) + style_cell_conditional_common ) + style_cell_conditional_common
style_cell.update(style_cell_common) if isinstance( if style_cell:
style_cell, dict style_cell.update(style_cell_common)
) else style_cell_common else:
style_cell = style_cell_common
style_header = style_cell style_header = style_cell
# Initialisation de la classe parente avec les arguments # Initialisation de la classe parente avec les arguments