We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a39033 + b55bc7c commit 29eb6e1Copy full SHA for 29eb6e1
src/js/core/directives/ui-grid-header-cell.js
@@ -33,8 +33,8 @@
33
};
34
$scope.isSortPriorityVisible = function() {
35
//show sort priority if column is sorted and there is at least one other sorted column
36
- return $scope.col.sort.priority && $scope.grid.columns.some(function(element, index){
37
- return element.sort.priority && element !== $scope.col;
+ return $scope.col.sort.priority !== undefined && $scope.grid.columns.some(function(element, index){
+ return element.sort.priority !== undefined && element !== $scope.col;
38
});
39
40
$scope.getSortDirectionAriaLabel = function(){
0 commit comments