Merge branch 'master' into tooling/npm-scripts

This commit is contained in:
Dominik Prokop 2019-02-21 21:28:16 +01:00
commit 167a18f1f2
2 changed files with 5 additions and 1 deletions

View File

@ -83,7 +83,7 @@ go get github.com/Unknwon/bra
bra run
```
You'll also need to run `yarn watch` to watch for changes to the front-end (typescript, html, sass)
You'll also need to run `yarn start` to watch for changes to the front-end (typescript, html, sass)
### Running tests

View File

@ -396,6 +396,10 @@ export class PrometheusDatasource implements DataSourceApi<PromQuery> {
const expandedQueries = queries.map(query => ({
...query,
expr: this.templateSrv.replace(query.expr, {}, this.interpolateQueryExpr),
// null out values we don't support in Explore yet
legendFormat: null,
step: null,
}));
state = {
...state,