mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 19:30:36 -06:00
fix: graphite query ctrl, removed unnesserary check for empty paths, fixes #7740
This commit is contained in:
parent
073dec8ba8
commit
b272f5144a
@ -128,6 +128,10 @@ export class GraphiteQueryCtrl extends QueryCtrl {
|
||||
}
|
||||
|
||||
var path = this.getSegmentPathUpTo(fromIndex + 1);
|
||||
if (path === "") {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
return this.datasource.metricFindQuery(path).then(segments => {
|
||||
if (segments.length === 0) {
|
||||
if (path !== '') {
|
||||
|
Loading…
Reference in New Issue
Block a user