Merge pull request #7796 from opf/fix/31462/gantt-chart-scheduling

[31462] Fix scheduling from startDate due to misspelled startdate
pull/7800/head
ulferts 5 years ago committed by GitHub
commit 1055fb9cdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      frontend/src/app/components/wp-table/timeline/cells/timeline-cell-renderer.ts
  2. 2
      frontend/src/app/modules/hal/resources/hal-resource.ts

@ -112,7 +112,7 @@ export class TimelineCellRenderer {
const now = moment().format('YYYY-MM-DD');
const startDate = moment(change.projectedResource.startdate);
const startDate = moment(change.projectedResource.startDate);
const dueDate = moment(change.projectedResource.dueDate);
let dates:CellDateMovement = {};

@ -45,6 +45,8 @@ export interface HalResourceClass<T extends HalResource = HalResource> {
export class HalResource {
// TODO this is the source of many issues in the frontend
// because it no longer properly type checks stuff
// Since 2019-10-21 I'm documenting what bugs this caused:
// https://community.openproject.com/wp/31462
[attribute:string]:any;
// The API type reported from API

Loading…
Cancel
Save