This is an automated email from the ASF dual-hosted git repository. hugh pushed a commit to branch chart-powered-by-query-2 in repository https://gitbox.apache.org/repos/asf/superset.git
commit 53baf1082da3a1704f416db5dfcbccde89858371 Author: hughhhh <[email protected]> AuthorDate: Thu Jul 21 14:45:56 2022 -0400 enable --- superset-frontend/src/SqlLab/components/ResultSet/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx index 7b7780a0b4..f54dad4d88 100644 --- a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx +++ b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx @@ -276,11 +276,11 @@ export default class ResultSet extends React.PureComponent< this.props.database?.allows_virtual_table_explore && ( <ExploreResultsButton database={this.props.database} - onClick={() => this.setState({ showSaveDatasetModal: true })} + // onClick={() => this.setState({ showSaveDatasetModal: true })} + // In order to use the new workflow for a query powered chart, replace the + // above function with: + onClick={this.createExploreResultsOnClick} /> - // In order to use the new workflow for a query powered chart, replace the - // above function with: - // onClick={this.createExploreResultsOnClick} )} {this.props.csv && ( <Button buttonSize="small" href={`/superset/csv/${query.id}`}>
