You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by bk...@apache.org on 2020/06/24 05:36:28 UTC

[incubator-superset] branch master updated: Fix CTAS explore flow (#10147)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 763b385  Fix CTAS explore flow (#10147)
763b385 is described below

commit 763b38591c551834b416f929464eef25ced4848d
Author: Bogdan <b....@gmail.com>
AuthorDate: Tue Jun 23 22:36:05 2020 -0700

    Fix CTAS explore flow (#10147)
    
    Co-authored-by: bogdan kyryliuk <bo...@dropbox.com>
---
 superset-frontend/src/SqlLab/components/ExploreCtasResultsButton.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset-frontend/src/SqlLab/components/ExploreCtasResultsButton.jsx b/superset-frontend/src/SqlLab/components/ExploreCtasResultsButton.jsx
index 9311e30..390bfbc 100644
--- a/superset-frontend/src/SqlLab/components/ExploreCtasResultsButton.jsx
+++ b/superset-frontend/src/SqlLab/components/ExploreCtasResultsButton.jsx
@@ -24,7 +24,7 @@ import Dialog from 'react-bootstrap-dialog';
 import { t } from '@superset-ui/translation';
 import { InfoTooltipWithTrigger } from '@superset-ui/chart-controls';
 
-import { exportChart } from '../../explore/exploreUtils';
+import { exploreChart } from '../../explore/exploreUtils';
 import * as actions from '../actions/sqlLab';
 import Button from '../../components/Button';
 
@@ -77,7 +77,7 @@ class ExploreCtasResultsButton extends React.PureComponent {
         );
 
         // open new window for data visualization
-        exportChart({ formData });
+        exploreChart(formData);
       })
       .catch(() => {
         this.props.actions.addDangerToast(