Remove incorrect types

This commit is contained in:
Ivana
2020-07-10 13:45:46 +02:00
parent d61e334c58
commit 9407731dac
@@ -390,7 +390,7 @@ export class ElasticResponse {
return result;
}
getTimeSeries(): DataQueryResponse {
getTimeSeries() {
if (this.targets.some(target => target.metrics.some(metric => metric.type === 'raw_document_v2'))) {
return this.processResponseToDataFrames(false);
}