fixed sorting direction change
This commit is contained in:
parent
13d9283ffc
commit
481ef14532
@ -33,7 +33,7 @@ function StatsCtrl($scope, $filter, socket, _, toastr) {
|
|||||||
|
|
||||||
$scope.orderTable = function(predicate, reverse)
|
$scope.orderTable = function(predicate, reverse)
|
||||||
{
|
{
|
||||||
if(predicate != $scope.predicate)
|
if(!_.isEqual(predicate, $scope.predicate))
|
||||||
{
|
{
|
||||||
$scope.reverse = reverse;
|
$scope.reverse = reverse;
|
||||||
$scope.predicate = predicate;
|
$scope.predicate = predicate;
|
||||||
|
Loading…
Reference in New Issue
Block a user