diff --git a/src/app/pages/projects/remove-projects.component.ts b/src/app/pages/projects/remove-projects.component.ts index 3d5c37b..eff19ef 100644 --- a/src/app/pages/projects/remove-projects.component.ts +++ b/src/app/pages/projects/remove-projects.component.ts @@ -284,7 +284,7 @@ export class RemoveProjectsComponent implements OnInit { } public selectAll(){ - if(this.selectedIndexes.length < this.communitySearchUtils.totalResults) { + if(this.selectedIndexes.length < this.previewCommunityProjects.length) { this.selectedIndexes = Array.from(Array(this.previewCommunityProjects.length).keys()); }else{ this.selectedIndexes = [];