feat(swarm): set default sorting for Swarm nodes by role

pull/551/head
Anthony Lapenna 2017-01-26 10:34:10 +13:00
parent fa9ba303aa
commit e25c5a014c
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ angular.module('swarm', [])
function ($scope, Info, Version, Node, Pagination) {
$scope.state = {};
$scope.state.pagination_count = Pagination.getPaginationCount('swarm_nodes');
$scope.sortType = 'Name';
$scope.sortReverse = true;
$scope.sortType = 'Spec.Role';
$scope.sortReverse = false;
$scope.info = {};
$scope.docker = {};
$scope.swarm = {};