mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
getQueryResult only if query.data_source_id exists
This commit is contained in:
parent
e0af1f20af
commit
16a83f6134
@ -323,7 +323,7 @@
|
||||
queryResult = new QueryResult({'query_result': this.latest_query_data});
|
||||
} else if (this.latest_query_data_id && ttl != 0) {
|
||||
queryResult = QueryResult.getById(this.latest_query_data_id);
|
||||
} else {
|
||||
} else if (this.data_source_id) {
|
||||
queryResult = QueryResult.get(this.data_source_id, this.query, ttl);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user