From b475127c53031fa498da139a7d16f3e54d43b90d Mon Sep 17 00:00:00 2001 From: Ghassen Rjab Date: Thu, 1 Mar 2018 23:34:17 +0100 Subject: Import missing card fields : isOvertime, startAt and spenTime --- models/wekanCreator.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'models') diff --git a/models/wekanCreator.js b/models/wekanCreator.js index d774db67..99d1df2d 100644 --- a/models/wekanCreator.js +++ b/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) { -- cgit v1.2.3-1-g7c22