Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

when nothing is selected there is no need to featch the project data from the server

bsatarnejade24bc39d28a0
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-project/filter-project.component.ts b/frontend/src/app/features/work-packages/components/filters/filter-project/filter-project.component.ts
index 4ea52c776e0..377444d8157 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-project/filter-project.component.ts
+++ b/frontend/src/app/features/work-packages/components/filters/filter-project/filter-project.component.ts
@@ -78,7 +78,7 @@ export class FilterProjectComponent extends UntilDestroyedMixin implements OnIni
return;
}
- if (!val) {
+ if (!val || (val && val.length === 0)) {
this.filter.values.length = 0;
this.filterChanged.emit(this.filter);
return;