diff --git a/src/app/task-form/task-form.component.html b/src/app/task-form/task-form.component.html index c83b8e6..8adfa23 100644 --- a/src/app/task-form/task-form.component.html +++ b/src/app/task-form/task-form.component.html @@ -60,7 +60,7 @@
Neuer Status Status löschen - +
diff --git a/src/app/task-form/task-form.component.ts b/src/app/task-form/task-form.component.ts index be575cb..c8860e7 100644 --- a/src/app/task-form/task-form.component.ts +++ b/src/app/task-form/task-form.component.ts @@ -64,7 +64,7 @@ export class TaskFormComponent implements OnInit { } getRelatedStory() { - this.backendService.getUserstory(2).subscribe((response) => { + this.backendService.getUserstory(this.task.userstoryid).subscribe((response) => { if (response.status > 399) { alert('Fehler'); } else {