Skip to content

Commit d3bab80

Browse files
authored
Merge branch 'develop' into pr/VULCAN-231-source-target
2 parents 33f2c1e + 314ad0b commit d3bab80

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/chart/table/TableChart.tsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,18 @@ export const NeoTableChart = (props: ChartProps) => {
276276
ColumnSortedAscendingIcon: () => <></>,
277277
}}
278278
getRowClassName={(params) => {
279-
return `rule${evaluateRulesOnDict(params.row, styleRules, ['row color', 'row text color'])}`;
279+
return ['row color', 'row text color']
280+
.map((e) => {
281+
return `rule${evaluateRulesOnDict(params.row, styleRules, [e])}`;
282+
})
283+
.join(' ');
280284
}}
281285
getCellClassName={(params) => {
282-
return `rule${evaluateRulesOnDict({ [params.field]: params.value }, styleRules, [
283-
'cell color',
284-
'cell text color',
285-
])}`;
286+
return ['cell color', 'cell text color']
287+
.map((e) => {
288+
return `rule${evaluateRulesOnDict({ [params.field]: params.value }, styleRules, [e])}`;
289+
})
290+
.join(' ');
286291
}}
287292
/>
288293
</div>

0 commit comments

Comments
 (0)