initial frontend logic

This commit is contained in:
Kamil Gabryjelski
2025-12-16 15:22:51 +01:00
parent 4dab58f8c0
commit 263e20e439
7 changed files with 248 additions and 1 deletions

View File

@@ -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,
],
);