Skip to content

Commit

Permalink
fix change dataset (#20751)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh authored Jul 18, 2022
1 parent 92f3621 commit 1101922
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1101922

Please sign in to comment.