changeset.resource does not exist

[ci skip]
pull/6424/head
Oliver Günther 6 years ago
parent ece0d3e803
commit 4c3e1919e4
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      frontend/src/app/modules/fields/edit/edit-field.component.ts

@ -59,7 +59,7 @@ export class EditFieldComponent implements OnDestroy {
.subscribe((changeset) => {
if (!this.changeset.empty && this.changeset.wpForm.hasValue()) {
this.field.schema = changeset.wpForm.value!.schema[this.field.name];
this.field.resource = changeset.resource;
this.field.resource = changeset.workPackage;
this.initialize();
this.cdRef.markForCheck();
}

Loading…
Cancel
Save