From ee5e883ecf04e96488656fc5fefb7b5a50062941 Mon Sep 17 00:00:00 2001 From: test Date: Mon, 29 Jun 2020 22:51:12 +0200 Subject: [PATCH] minor changes --- src/app/services/backend.service.ts | 2 +- src/app/sprint-form/sprint-form.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/services/backend.service.ts b/src/app/services/backend.service.ts index 8682de8..66c3740 100644 --- a/src/app/services/backend.service.ts +++ b/src/app/services/backend.service.ts @@ -235,7 +235,7 @@ export interface ScrumSprint{ description?: string; startDate: Date; endDate: Date; - project: number; + project?: number; } export interface ScrumCategory { diff --git a/src/app/sprint-form/sprint-form.component.ts b/src/app/sprint-form/sprint-form.component.ts index f19c1bb..8983ea7 100644 --- a/src/app/sprint-form/sprint-form.component.ts +++ b/src/app/sprint-form/sprint-form.component.ts @@ -31,7 +31,7 @@ export class SprintFormComponent implements OnInit { ngOnInit(): void { if (this.sprint === null || this.sprint === undefined) { - this.sprint = { title: '', startDate: new Date(), endDate: new Date(), project: 0 }; //project id: static counter? + this.sprint = { title: '', startDate: new Date(), endDate: new Date()}; //project id missing... this.editing = false; } else { this.editing = true;