mirror of
https://github.com/grafana/grafana.git
synced 2025-01-24 15:27:01 -06:00
Expression: Execute hidden expressions (#50636)
This commit is contained in:
parent
bd04b776b5
commit
ede7b29db5
@ -35,13 +35,6 @@ export class ExpressionDatasourceApi extends DataSourceWithBackend<ExpressionQue
|
|||||||
return `Expression: ${query.type}`;
|
return `Expression: ${query.type}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
filterQuery(query: ExpressionQuery) {
|
|
||||||
if (query.hide) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
query(request: DataQueryRequest<ExpressionQuery>): Observable<DataQueryResponse> {
|
query(request: DataQueryRequest<ExpressionQuery>): Observable<DataQueryResponse> {
|
||||||
let targets = request.targets.map(async (query: ExpressionQuery): Promise<ExpressionQuery> => {
|
let targets = request.targets.map(async (query: ExpressionQuery): Promise<ExpressionQuery> => {
|
||||||
const ds = await getDataSourceSrv().get(query.datasource);
|
const ds = await getDataSourceSrv().get(query.datasource);
|
||||||
|
Loading…
Reference in New Issue
Block a user