1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 07:19:41 +02:00

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

This commit is contained in:
Anthony Lapenna 2017-01-26 10:34:10 +13:00
parent fa9ba303aa
commit e25c5a014c

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 = {};