Import missing card fields : isOvertime, startAt and spenTime

This commit is contained in:
Ghassen Rjab 2018-03-01 23:34:17 +01:00
parent bbca361aeb
commit b475127c53

View file

@ -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) {