minor changes

This commit is contained in:
test 2020-06-29 22:51:12 +02:00
parent 75b964402a
commit ee5e883ecf
2 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ export interface ScrumSprint{
description?: string; description?: string;
startDate: Date; startDate: Date;
endDate: Date; endDate: Date;
project: number; project?: number;
} }
export interface ScrumCategory { export interface ScrumCategory {

View File

@ -31,7 +31,7 @@ export class SprintFormComponent implements OnInit {
ngOnInit(): void { ngOnInit(): void {
if (this.sprint === null || this.sprint === undefined) { 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; this.editing = false;
} else { } else {
this.editing = true; this.editing = true;