mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
[hotfix] getting presto on track
This commit is contained in:
committed by
Maxime Beauchemin
parent
9f8eef498c
commit
508feb2bad
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user