mirror of
https://github.com/grafana/grafana.git
synced 2026-07-29 15:59:50 -05:00
feat(templating): minor sort fix
This commit is contained in:
@@ -288,9 +288,7 @@ function (angular, _, kbn) {
|
||||
options[value] = {text: text, value: value};
|
||||
}
|
||||
|
||||
return _.map(_.keys(options).sort(), function(key) {
|
||||
return options[key];
|
||||
});
|
||||
return _.sortBy(options, 'text');
|
||||
};
|
||||
|
||||
this.addAllOption = function(variable) {
|
||||
|
||||
Reference in New Issue
Block a user