Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
addProjects() {
this.projectTimesheet.forEach(d => {
let group;
group = this.fb.group({
clientId: d.clientId,
clientName: d.clientName,
endDate: d.endDate,
hoursHashMap: this.initHoursHashMap(d.hoursHashMap),
projectCode: d.projectCode,
projectDesc: d.projectDesc,
startDate: d.startDate,
timesheetTaskHoursMatch: d.timesheetTaskHoursMatch
})
this.projectTime.push(group);
})
this.onChanges();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment