mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Pass dashboardId to control (#1467)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user