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