Skip to content

Commit 733e4bc

Browse files
committed
Fix for #740: pfTableView-with-Toolbar: cannot select all rows after clearing filters
1 parent bcf6d0d commit 733e4bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/table/tableview/examples/table-view-with-toolbar.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,9 @@
360360
} else {
361361
$scope.items = $scope.allItems;
362362
}
363+
if (filters && (filters.length === 0 || filters.length > 1)) {
364+
$scope.addNewComponentToDOM();
365+
}
363366
};
364367
365368
var filterChange = function (filters) {

0 commit comments

Comments
 (0)