Fix remaining merge issues
This commit is contained in:
parent
594839d2ff
commit
b78c3715cf
@ -94,6 +94,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -242,6 +242,7 @@ export interface ScrumUserstory {
|
|||||||
priority?: Priority;
|
priority?: Priority;
|
||||||
statusid?: number;
|
statusid?: number;
|
||||||
categoryid?: number;
|
categoryid?: number;
|
||||||
|
sprintid?: number;
|
||||||
createdbyid?: number;
|
createdbyid?: number;
|
||||||
projectid?: number;
|
projectid?: number;
|
||||||
}
|
}
|
||||||
@ -252,7 +253,7 @@ export interface ScrumSprint{
|
|||||||
description?: string;
|
description?: string;
|
||||||
startDate: string;
|
startDate: string;
|
||||||
endDate: string;
|
endDate: string;
|
||||||
project: number;
|
projectid?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ScrumCategory {
|
export interface ScrumCategory {
|
||||||
|
@ -2,17 +2,8 @@ import { Component, OnInit, Input } from '@angular/core';
|
|||||||
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
||||||
import {
|
import {
|
||||||
BackendService,
|
BackendService,
|
||||||
ScrumTask,
|
|
||||||
Priority,
|
|
||||||
ScrumStatus,
|
|
||||||
ScrumCategory,
|
|
||||||
ScrumUser,
|
|
||||||
ScrumProject,
|
|
||||||
ScrumUserstory,
|
|
||||||
ScrumSprint
|
ScrumSprint
|
||||||
} from '../services/backend.service';
|
} from '../services/backend.service';
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { HttpResponse } from '@angular/common/http';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-task-form',
|
selector: 'app-task-form',
|
||||||
@ -28,7 +19,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 id missing...
|
this.sprint = { title: '', startDate: '', endDate: ''}; //project id missing...
|
||||||
this.editing = false;
|
this.editing = false;
|
||||||
} else {
|
} else {
|
||||||
this.editing = true;
|
this.editing = true;
|
||||||
|
@ -78,10 +78,10 @@ export class SprintTableComponent extends TableComponentBase<ScrumSprint> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sortByStartDate() {
|
sortByStartDate() {
|
||||||
this.doDateSort('startDate', sprint => sprint.startDate);
|
this.doStringSort('startDate', sprint => sprint.startDate);
|
||||||
}
|
}
|
||||||
|
|
||||||
sortByEndDate() {
|
sortByEndDate() {
|
||||||
this.doDateSort('endDate', sprint => sprint.endDate);
|
this.doStringSort('endDate', sprint => sprint.endDate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user