Pass projectIdentifier in inline-create controller

This fixes the create spec
pull/4471/head
Oliver Günther 8 years ago committed by Alex Dik
parent efdc044a29
commit 65546c0296
  1. 2
      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() { 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 = wp;
this._wp.inlineCreated = true; this._wp.inlineCreated = true;

Loading…
Cancel
Save