From 65546c02963e8466e0606ef037b59993db3935e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 21 Jun 2016 11:20:39 +0200 Subject: [PATCH] Pass projectIdentifier in inline-create controller This fixes the create spec --- .../wp-inline-create-button.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;