Skip to content

Commit

Permalink
feat: expose form_data to datasourceControl (apache#1148)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Nov 24, 2021
1 parent 9dea909 commit 3a5798d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ const datasourceControl: SharedControlConfig<'DatasourceControl'> = {
label: t('Datasource'),
default: null,
description: null,
mapStateToProps: ({ datasource }) => ({
mapStateToProps: ({ datasource, form_data }) => ({
datasource,
form_data,
}),
};

Expand Down

0 comments on commit 3a5798d

Please sign in to comment.