From df1b3be4ecf2f206660244b738fe7b01766213a8 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 1 Jul 2020 16:31:50 +0200 Subject: [PATCH] declared status variable --- src/app/task-form/task-form.component.html | 2 +- src/app/task-form/task-form.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/task-form/task-form.component.html b/src/app/task-form/task-form.component.html index ed5c8aa..0a90a8d 100644 --- a/src/app/task-form/task-form.component.html +++ b/src/app/task-form/task-form.component.html @@ -60,7 +60,7 @@
Neuer Status Status löschen - +
diff --git a/src/app/task-form/task-form.component.ts b/src/app/task-form/task-form.component.ts index 8774b80..c50dac2 100644 --- a/src/app/task-form/task-form.component.ts +++ b/src/app/task-form/task-form.component.ts @@ -25,7 +25,7 @@ export class TaskFormComponent implements OnInit { public userstoryId: string; public userstories: any[] = []; public allStatus: any[] = []; - public status: ScrumStatus; + public status: ScrumStatus = { title: '', description: '' }; constructor(private backendService: BackendService, private activeModalService: NgbActiveModal) { this.getUserStories();