浏览代码

Import missing card fields : isOvertime, startAt and spenTime

Ghassen Rjab 7 年之前
父节点
当前提交
b475127c53
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      models/wekanCreator.js

+ 3 - 0
models/wekanCreator.js

@@ -228,7 +228,10 @@ export class WekanCreator {
         title: card.title,
         // we attribute the card to its creator if available
         userId: this._user(this.createdBy.cards[card._id]),
+        isOvertime: card.isOvertime || false,
+        startAt: card.startAt ? this._now(card.startAt) : null,
         dueAt: card.dueAt ? this._now(card.dueAt) : null,
+        spentTime: card.spentTime || null,
       };
       // add labels
       if (card.labelIds) {