mirror of
https://github.com/apache/superset.git
synced 2026-05-10 10:25:51 +00:00
initial frontend logic
This commit is contained in:
@@ -367,6 +367,9 @@ const Chart = props => {
|
||||
state.dashboardInfo?.metadata?.shared_label_colors,
|
||||
),
|
||||
);
|
||||
const whatIfModifications = useSelector(
|
||||
state => state.dashboardState.whatIfModifications || EMPTY_ARRAY,
|
||||
);
|
||||
|
||||
const formData = useMemo(
|
||||
() =>
|
||||
@@ -386,6 +389,7 @@ const Chart = props => {
|
||||
labelsColorMap,
|
||||
sharedLabelsColors,
|
||||
ownColorScheme,
|
||||
whatIfModifications,
|
||||
}),
|
||||
[
|
||||
chart.id,
|
||||
@@ -403,6 +407,7 @@ const Chart = props => {
|
||||
labelsColorMap,
|
||||
sharedLabelsColors,
|
||||
ownColorScheme,
|
||||
whatIfModifications,
|
||||
],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user