dont break on panels that dont have rawQuery set
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user