You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2022/07/21 18:46:40 UTC
[superset] 03/03: enable
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 <hu...@gmail.com>
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}`}>