mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
dont break on panels that dont have rawQuery set
This commit is contained in:
parent
b2b4860bdb
commit
eb170e741b
@ -149,7 +149,7 @@ export default class PostgresQuery {
|
||||
render(interpolate?) {
|
||||
var target = this.target;
|
||||
|
||||
if (target.rawQuery) {
|
||||
if (target.rawQuery || !('rawQuery' in target)) {
|
||||
if (interpolate) {
|
||||
return this.templateSrv.replace(target.rawSql, this.scopedVars, this.interpolateQueryStr);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user