fix: on calling update_task, start and end date not being updated

This commit is contained in:
Praveen 2025-01-14 10:48:53 +05:30 committed by Safwan Samsudeen
parent 6a34a20e15
commit 1a09a38a6e

View File

@ -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();