get right userstory
This commit is contained in:
parent
e99e0aeb69
commit
e74325b558
@ -60,7 +60,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<a class="dropdown-item" href="#" (click)="createTaskStatus()">Neuer Status</a>
|
<a class="dropdown-item" href="#" (click)="createTaskStatus()">Neuer Status</a>
|
||||||
<a class="dropdown-item" href="#" (click)="deleteStatus()">Status löschen</a>
|
<a class="dropdown-item" href="#" (click)="deleteStatus()">Status löschen</a>
|
||||||
<input type="text" class="form-control"/>
|
<input type="text" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -64,7 +64,7 @@ export class TaskFormComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getRelatedStory() {
|
getRelatedStory() {
|
||||||
this.backendService.getUserstory(2).subscribe((response) => {
|
this.backendService.getUserstory(this.task.userstoryid).subscribe((response) => {
|
||||||
if (response.status > 399) {
|
if (response.status > 399) {
|
||||||
alert('Fehler');
|
alert('Fehler');
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user