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

Don't double create create event for work packages

Oliver Günther095aa90f4760
diff --git a/frontend/src/app/components/wp-new/wp-create.service.ts b/frontend/src/app/components/wp-new/wp-create.service.ts
index 1cfecaf0962..6174143246c 100644
--- a/frontend/src/app/components/wp-new/wp-create.service.ts
+++ b/frontend/src/app/components/wp-new/wp-create.service.ts
@@ -89,7 +89,6 @@ export class WorkPackageCreateService extends UntilDestroyedMixin {
}
protected newWorkPackageCreated(wp:WorkPackageResource) {
- this.halEvents.push(wp, { eventType: 'created' });
this.reset();
this.newWorkPackageCreatedSubject.next(wp);
}