From e74325b5580febaacee68d5108d20c566a072e56 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 30 Jun 2020 16:36:47 +0200 Subject: [PATCH] get right userstory --- src/app/task-form/task-form.component.html | 2 +- src/app/task-form/task-form.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {