mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
fix(ag-grid): fix conditional formatting theme colors and module extensibility (#35605)
This commit is contained in:
committed by
GitHub
parent
79918a7939
commit
5e4a80e5d0
@@ -43,6 +43,7 @@ export default function transformProps(
|
||||
rawFormData,
|
||||
hooks,
|
||||
datasource: { currencyFormats = {}, columnFormats = {} },
|
||||
theme,
|
||||
} = chartProps;
|
||||
const {
|
||||
metricNameFontSize,
|
||||
@@ -105,7 +106,7 @@ export default function transformProps(
|
||||
const defaultColorFormatters = [] as ColorFormatters;
|
||||
|
||||
const colorThresholdFormatters =
|
||||
getColorFormatters(conditionalFormatting, data, false) ??
|
||||
getColorFormatters(conditionalFormatting, data, theme, false) ??
|
||||
defaultColorFormatters;
|
||||
return {
|
||||
width,
|
||||
|
||||
Reference in New Issue
Block a user