mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixes #104, improvements to graphite target editor and use of wildcard, the "select metric" should now behave/appear correctly
This commit is contained in:
parent
64c7c9f712
commit
53075e0ec7
@ -168,11 +168,12 @@ function (angular, _, config, gfunc, Parser) {
|
||||
segments.unshift({
|
||||
type: 'template',
|
||||
html: '[[' + filter.name + ']]',
|
||||
val: '[[' + filter.name + ']]'
|
||||
val: '[[' + filter.name + ']]',
|
||||
expandable: true,
|
||||
});
|
||||
});
|
||||
|
||||
segments.unshift({val: '*', html: '<i class="icon-asterisk"></i>' });
|
||||
segments.unshift({val: '*', html: '<i class="icon-asterisk"></i>', expandable: true });
|
||||
$scope.altSegments = segments;
|
||||
})
|
||||
.then(null, function(err) {
|
||||
@ -193,6 +194,9 @@ function (angular, _, config, gfunc, Parser) {
|
||||
$scope.targetChanged();
|
||||
});
|
||||
}
|
||||
else {
|
||||
$scope.segments = $scope.segments.splice(0, segmentIndex + 1);
|
||||
}
|
||||
|
||||
setSegmentFocus(segmentIndex + 1);
|
||||
$scope.targetChanged();
|
||||
|
Loading…
Reference in New Issue
Block a user