dashboard: Fix sort on Chrome
This commit is contained in:
parent
08da42e273
commit
7c2bb0df23
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ angular.module("FICApp", ["ngSanitize", "ngAnimate"])
|
|||
this.push(team);
|
||||
}
|
||||
}, $scope.rank);
|
||||
$scope.rank.sort(function(a,b) { return a.rank > b.rank })
|
||||
$scope.rank.sort(function(a,b) { return a.rank - b.rank })
|
||||
$scope.pagesrank = Array(Math.ceil($scope.rank.length / 7)).fill(0).map(function(v, i){ return i; });
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue