get right userstory
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user