mirror of
https://github.com/wekan/wekan.git
synced 2025-12-23 19:00:12 +01:00
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:
parent
eace04db8e
commit
6b4613d3ed
1 changed files with 4 additions and 2 deletions
|
|
@ -411,8 +411,10 @@ BlazeComponent.extendComponent({
|
||||||
if (card) {
|
if (card) {
|
||||||
// TODO: add a flag for allDay events
|
// TODO: add a flag for allDay events
|
||||||
if (!event.allDay) {
|
if (!event.allDay) {
|
||||||
card.setStart(event.start.toDate());
|
// https://github.com/wekan/wekan/issues/2917#issuecomment-1236753962
|
||||||
card.setEnd(event.end.toDate());
|
//card.setStart(event.start.toDate());
|
||||||
|
//card.setEnd(event.end.toDate());
|
||||||
|
card.setDue(event.start.toDate());
|
||||||
isOk = true;
|
isOk = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue