mirror of
https://github.com/apache/superset.git
synced 2026-05-13 03:45:12 +00:00
fix: sync dot color between dashboard chart and edit chart (#33748)
(cherry picked from commit 78ad6db0c6)
This commit is contained in:
committed by
Michael S. Molina
parent
cbbf335984
commit
715fe6f6ef
@@ -136,7 +136,7 @@ const CategoricalDeckGLContainer = (props: CategoricalDeckGLContainerProps) => {
|
||||
return data.map(d => {
|
||||
let color;
|
||||
if (fd.dimension) {
|
||||
color = hexToRGB(colorFn(d.cat_color, fd.sliceId), c.a * 255);
|
||||
color = hexToRGB(colorFn(d.cat_color, fd.slice_id), c.a * 255);
|
||||
|
||||
return { ...d, color };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user