Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
Pass dashboardId to control (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
geido committed Nov 12, 2021
1 parent 3da1629 commit 796e2da
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,9 @@ const color_scheme: SharedControlConfig<'ColorSchemeControl'> = {
choices: () => categoricalSchemeRegistry.keys().map(s => [s, s]),
description: t('The color scheme for rendering chart'),
schemes: () => categoricalSchemeRegistry.getMap(),
mapStateToProps: state => ({
dashboardId: state?.form_data?.dashboardId,
}),
};

const enableExploreDnd = isFeatureEnabled(
Expand Down

1 comment on commit 796e2da

@vercel
Copy link

@vercel vercel bot commented on 796e2da Nov 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.