mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 20:54:22 -06:00
fix test failures for timeInterval
This commit is contained in:
parent
fd269945c9
commit
e2c7b010ac
@ -17,7 +17,7 @@ export class PostgresDatasource {
|
||||
this.jsonData = instanceSettings.jsonData;
|
||||
this.responseParser = new ResponseParser(this.$q);
|
||||
this.queryModel = new PostgresQuery({});
|
||||
this.interval = instanceSettings.jsonData.timeInterval;
|
||||
this.interval = (instanceSettings.jsonData || {}).timeInterval;
|
||||
}
|
||||
|
||||
interpolateVariable(value, variable) {
|
||||
|
Loading…
Reference in New Issue
Block a user