Viz the compiled query rather than user input. (#2086)

This commit is contained in:
Bogdan
2017-01-31 19:56:59 -08:00
committed by GitHub
parent ea8e4ad05b
commit 898d80ba38

View File

@@ -103,7 +103,7 @@ class VisualizeModal extends React.PureComponent {
chartType: this.state.chartType.value,
datasourceName: this.state.datasourceName,
columns: this.state.columns,
sql: this.props.query.sql,
sql: this.props.query.executedSql,
dbId: this.props.query.dbId,
};
$.ajax({