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

Remove commented code

Dombi Attila4517a6eded98
diff --git a/frontend/src/app/features/work-packages/components/wp-new/wp-create.service.ts b/frontend/src/app/features/work-packages/components/wp-new/wp-create.service.ts
index 10f67651d25..8fc10d18b2c 100644
--- a/frontend/src/app/features/work-packages/components/wp-new/wp-create.service.ts
+++ b/frontend/src/app/features/work-packages/components/wp-new/wp-create.service.ts
@@ -267,11 +267,6 @@ export class WorkPackageCreateService extends UntilDestroyedMixin {
throw new Error('No new work package was created');
}
- // // We need to apply the defaults again (after them being applied in the form requests)
- // // here as the initial form requests might have led to some default
- // // values not being carried over. This can happen when custom fields not available in one type are filter values.
- // this.defaultsFromFilters(change, defaults);
-
return change;
});
});