mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Fix CTAS explore flow (#10147)
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user