Commit e2c7b010 by Sven Klemm

fix test failures for timeInterval

parent fd269945
...@@ -17,7 +17,7 @@ export class PostgresDatasource { ...@@ -17,7 +17,7 @@ export class PostgresDatasource {
this.jsonData = instanceSettings.jsonData; this.jsonData = instanceSettings.jsonData;
this.responseParser = new ResponseParser(this.$q); this.responseParser = new ResponseParser(this.$q);
this.queryModel = new PostgresQuery({}); this.queryModel = new PostgresQuery({});
this.interval = instanceSettings.jsonData.timeInterval; this.interval = (instanceSettings.jsonData || {}).timeInterval;
} }
interpolateVariable(value, variable) { interpolateVariable(value, variable) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment