mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 23:16:16 -06:00
feat(templating): set default sort order
This commit is contained in:
parent
e348822190
commit
9c5436c648
@ -123,6 +123,7 @@ function (angular, _) {
|
||||
$scope.currentIsNew = false;
|
||||
$scope.mode = 'edit';
|
||||
|
||||
$scope.current.sort = $scope.current.sort || replacementDefaults.sort;
|
||||
if ($scope.current.datasource === void 0) {
|
||||
$scope.current.datasource = null;
|
||||
$scope.current.type = 'query';
|
||||
|
Loading…
Reference in New Issue
Block a user