mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
[sql lab] fix table dropdown with large schema make UI unresponsive (#2547)
Indexing was done on render, moving to doing it only when the data changes.
This commit is contained in:
committed by
GitHub
parent
db6b2f3ae1
commit
6566377740
@@ -148,7 +148,7 @@ class SqlEditor extends React.PureComponent {
|
||||
<div className="pull-left">
|
||||
<Form inline>
|
||||
<RunQueryActionButton
|
||||
allowAsync={this.props.database && this.props.database.allow_run_async}
|
||||
allowAsync={this.props.database ? this.props.database.allow_run_async : false}
|
||||
dbId={this.props.queryEditor.dbId}
|
||||
queryState={this.props.latestQuery && this.props.latestQuery.state}
|
||||
runQuery={this.runQuery.bind(this)}
|
||||
|
||||
Reference in New Issue
Block a user