added status title

This commit is contained in:
Michael
2020-06-30 13:23:08 +02:00
parent 8a7e480bf7
commit 89429b49b3
7 changed files with 296 additions and 211 deletions

View File

@@ -24,6 +24,7 @@ export class TaskFormComponent implements OnInit {
public userstoryId: string;
public userstories: any[] = [];
public allStatus: any[] = [];
public status: ScrumStatus;
constructor(
private backendService: BackendService,
@@ -95,6 +96,14 @@ export class TaskFormComponent implements OnInit {
});
}
createTaskStatus() {
this.backendService.postStatus(this.status).subscribe((response) => {
if (response.status > 399) {
alert('Fehler');
}
});
}
// addNewStatus() {
// this.allStatus;
// }