Fix 2) Due date is not created nor changed, when cards are moved in the calendar view.

Thanks to DimDz !

Related #2917
This commit is contained in:
Lauri Ojansivu 2022-09-05 13:35:14 +03:00
parent eace04db8e
commit 6b4613d3ed

View file

@ -411,8 +411,10 @@ BlazeComponent.extendComponent({
if (card) {
// TODO: add a flag for allDay events
if (!event.allDay) {
card.setStart(event.start.toDate());
card.setEnd(event.end.toDate());
// https://github.com/wekan/wekan/issues/2917#issuecomment-1236753962
//card.setStart(event.start.toDate());
//card.setEnd(event.end.toDate());
card.setDue(event.start.toDate());
isOk = true;
}
}