mirror of https://github.com/apache/superset.git
Fix CTAS explore flow (#10147)
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
parent
aefef9ca55
commit
763b38591c
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue