Forráskód Böngészése

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

Thanks to DimDz !

Related #2917
Lauri Ojansivu 2 éve
szülő
commit
6b4613d3ed
1 módosított fájl, 4 hozzáadás és 2 törlés
  1. 4 2
      client/components/boards/boardBody.js

+ 4 - 2
client/components/boards/boardBody.js

@@ -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;
           }
         }