mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
More improvements to SQL Lab (#1104)
* Handling timeouts * Fixing timer on non-utc server * Allowing async with results * [bugfix] database is not selected * Making sure the session is up and running * Cleaning up query results and query objects * Picking a groupby and metric field on visualize flow * Showing local time in query history * Using pull-left pull-right instead of grid layout for table metdata Long column name were looking weird and icons were wrapping oddly * Linting * Eliminating east buttons under the sql editor * Sort database dropdown by name * Linting * Allowing non-SELECT statements to run * Adding a db config * Making sqla checkout check cross-db
This commit is contained in:
committed by
GitHub
parent
8081080709
commit
e8088d5c9a
@@ -27,8 +27,8 @@ class Timer extends React.Component {
|
||||
}
|
||||
stopwatch() {
|
||||
if (this.props && this.props.query) {
|
||||
const since = this.props.query.endDttm || now();
|
||||
const clockStr = fDuration(this.props.query.startDttm, since);
|
||||
const endDttm = this.props.query.endDttm || now();
|
||||
const clockStr = fDuration(this.props.query.startDttm, endDttm);
|
||||
this.setState({ clockStr });
|
||||
if (this.props.query.state !== 'running') {
|
||||
this.stopTimer();
|
||||
|
||||
Reference in New Issue
Block a user