mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02: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) {
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue