Expression: Execute hidden expressions (#50636)

This commit is contained in:
Sriram 2022-06-13 10:23:15 +01:00 committed by GitHub
parent bd04b776b5
commit ede7b29db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,13 +35,6 @@ export class ExpressionDatasourceApi extends DataSourceWithBackend<ExpressionQue
return `Expression: ${query.type}`;
}
filterQuery(query: ExpressionQuery) {
if (query.hide) {
return false;
}
return true;
}
query(request: DataQueryRequest<ExpressionQuery>): Observable<DataQueryResponse> {
let targets = request.targets.map(async (query: ExpressionQuery): Promise<ExpressionQuery> => {
const ds = await getDataSourceSrv().get(query.datasource);