diff --git a/frontend/app/components/wp-buttons/wp-inline-create-button/wp-inline-create-button.controller.ts b/frontend/app/components/wp-buttons/wp-inline-create-button/wp-inline-create-button.controller.ts index 4c5b047bc4..881a3b43d2 100644 --- a/frontend/app/components/wp-buttons/wp-inline-create-button/wp-inline-create-button.controller.ts +++ b/frontend/app/components/wp-buttons/wp-inline-create-button/wp-inline-create-button.controller.ts @@ -68,7 +68,7 @@ class WorkPackageInlineCreateButtonController extends WorkPackageCreateButtonCon } public addWorkPackageRow() { - scopedObservable(this.$scope, this.wpCreate.createNewWorkPackage()).subscribe(wp => { + scopedObservable(this.$scope, this.wpCreate.createNewWorkPackage(this.projectIdentifier)).subscribe(wp => { this._wp = wp; this._wp.inlineCreated = true;