mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix pre gui queries shortcircuit
This commit is contained in:
@@ -77,7 +77,8 @@ export default class PostgresQuery {
|
||||
render(interpolate?) {
|
||||
let target = this.target;
|
||||
|
||||
if (!('table' in this.target)) {
|
||||
// new query with no table set yet
|
||||
if (!this.target.rawQuery && !('table' in this.target)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user