Commit 64878140 by Emmanuel Quentin Committed by bergquist

Avoid to request influxdb when query is hidden

parent eb54fbae
......@@ -134,6 +134,8 @@ export default class InfluxDatasource {
};
_seriesQuery(query) {
if (!query) { return this.$q.when({results: []}); }
return this._influxRequest('GET', '/query', {q: query, epoch: 'ms'});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment