.
This commit is contained in:
		@@ -19,7 +19,7 @@ export class UserstoryFormComponent implements OnInit {
 | 
			
		||||
	public allStatus: any[] = [];
 | 
			
		||||
	public status: ScrumStatus = { title: "", description: "" };
 | 
			
		||||
	public allUser: any[] = [];
 | 
			
		||||
	public user : ScrumUser = {name:""};
 | 
			
		||||
	public user: ScrumUser = { name: "" };
 | 
			
		||||
	private editing: boolean;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -111,7 +111,17 @@ export class UserstoryFormComponent implements OnInit {
 | 
			
		||||
		return status.title;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Methods for choosing a creator in userstory.
 | 
			
		||||
	// Methods for choosing creator of a userstory.
 | 
			
		||||
 | 
			
		||||
	getAllUsers() {
 | 
			
		||||
		this.backendService.getUsers().subscribe((response) => {
 | 
			
		||||
			if (response.status > 399) {
 | 
			
		||||
				alert('Fehler');
 | 
			
		||||
			} else {
 | 
			
		||||
				this.allUser.push(...response.body);
 | 
			
		||||
			}
 | 
			
		||||
		});
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	getAuthorById(id: number): string {
 | 
			
		||||
		if (!id) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user