[hotfix] getting presto on track

This commit is contained in:
maxime.beauchemin@airbnb.com
2016-08-31 00:09:55 +00:00
committed by Maxime Beauchemin
parent 9f8eef498c
commit 508feb2bad
6 changed files with 18 additions and 15 deletions

View File

@@ -36,9 +36,6 @@ class SqlEditorTopToolbar extends React.Component {
});
return `SELECT ${cols}\nFROM ${table.name}`;
}
selectStar(table) {
this.props.actions.queryEditorSetSql(this.props.queryEditor, this.getSql(table));
}
popTab(table) {
const qe = {
id: shortid.generate(),
@@ -169,7 +166,7 @@ class SqlEditorTopToolbar extends React.Component {
</div>
<hr />
<div className="m-t-5">
{tables.map((table) => <TableElement table={table} />)}
{tables.map((table) => <TableElement table={table} queryEditor={this.props.queryEditor} />)}
</div>
</div>
);