This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 1101922178 fix change dataset (#20751)
1101922178 is described below

commit 11019221787eee60c94bd3b5749b6550aebede63
Author: Hugh A. Miles II <[email protected]>
AuthorDate: Mon Jul 18 14:23:11 2022 -0400

    fix change dataset (#20751)
---
 .../src/explore/components/controls/DatasourceControl/index.jsx         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx 
b/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx
index b313fd7fe6..5816563215 100644
--- 
a/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx
+++ 
b/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx
@@ -170,7 +170,7 @@ class DatasourceControl extends React.PureComponent {
   }
 
   onDatasourceSave = datasource => {
-    this.props.actions.saveDatasource(datasource);
+    this.props.actions.changeDatasource(datasource);
     const timeCol = this.props.form_data?.granularity_sqla;
     const { columns } = this.props.datasource;
     const firstDttmCol = columns.find(column => column.is_dttm);

Reply via email to