Skip to content

Commit c91de9c

Browse files
committed
Fixed Duplicate key issue 'color'
1 parent 311e0de commit c91de9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderer/components/dbComponents/inputToolsDB/convertCategoricalColumnIntoNumericDB.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ const ConvertCategoricalColumnIntoNumericDB = ({ currentCollection }) => {
339339
sortable
340340
style={{
341341
// Red if categorical and NOT already encoded
342-
color: categoricalColumns.includes(col.field) ? "red" : "inherit",
342+
background: categoricalColumns.includes(col.field) ? "red" : "inherit",
343343
// Red if highlighted
344344
color: highlightedColumns.includes(col.field) ? "red" : "inherit"
345345
}}

0 commit comments

Comments
 (0)