mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
Fixing the build [that I broke]
This commit is contained in:
@@ -7,6 +7,9 @@ import * as Actions from '../actions';
|
||||
import shortid from 'shortid';
|
||||
|
||||
class TableElement extends React.Component {
|
||||
setSelectStar() {
|
||||
this.props.actions.queryEditorSetSql(this.props.queryEditor, this.selectStar());
|
||||
}
|
||||
selectStar() {
|
||||
let cols = '';
|
||||
this.props.table.columns.forEach((col, i) => {
|
||||
@@ -17,9 +20,6 @@ class TableElement extends React.Component {
|
||||
});
|
||||
return `SELECT ${cols}\nFROM ${this.props.table.name}`;
|
||||
}
|
||||
setSelectStar () {
|
||||
this.props.actions.queryEditorSetSql(this.props.queryEditor, this.selectStar());
|
||||
}
|
||||
popSelectStar() {
|
||||
const qe = {
|
||||
id: shortid.generate(),
|
||||
|
||||
Reference in New Issue
Block a user