This commit is contained in:
test 2020-07-02 17:07:50 +02:00
parent 941e2f7ee5
commit 96b64ba1dc

View File

@ -111,7 +111,17 @@ export class UserstoryFormComponent implements OnInit {
return status.title; 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 { getAuthorById(id: number): string {
if (!id) { if (!id) {