get right userstory
This commit is contained in:
		@@ -60,7 +60,7 @@
 | 
			
		||||
                    <div class="form-group">
 | 
			
		||||
                        <a class="dropdown-item" href="#" (click)="createTaskStatus()">Neuer Status</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>
 | 
			
		||||
 
 | 
			
		||||
@@ -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