mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(templating): minor sort fix
This commit is contained in:
parent
5d652dcaef
commit
89ea25ca08
@ -288,9 +288,7 @@ function (angular, _, kbn) {
|
|||||||
options[value] = {text: text, value: value};
|
options[value] = {text: text, value: value};
|
||||||
}
|
}
|
||||||
|
|
||||||
return _.map(_.keys(options).sort(), function(key) {
|
return _.sortBy(options, 'text');
|
||||||
return options[key];
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.addAllOption = function(variable) {
|
this.addAllOption = function(variable) {
|
||||||
|
Loading…
Reference in New Issue
Block a user