fix: on calling update_task, start and end date not being updated
This commit is contained in:
parent
1d78ec1be9
commit
ed89651814
@ -51,6 +51,8 @@ export default class Bar {
|
||||
this.invalid = this.task.invalid;
|
||||
this.height = this.gantt.options.bar_height;
|
||||
this.image_size = this.height - 5;
|
||||
this.task._start = new Date(this.task.start);
|
||||
this.task._end = new Date(this.task.end);
|
||||
this.compute_x();
|
||||
this.compute_y();
|
||||
this.compute_duration();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user