mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 21:17:18 -04:00
wekan-import: also import each card color
This commit is contained in:
parent
35ffd02814
commit
ebc4d6fdbd
1 changed files with 4 additions and 0 deletions
|
@ -298,6 +298,10 @@ export class WekanCreator {
|
|||
cardToCreate.members = wekanMembers;
|
||||
}
|
||||
}
|
||||
// set color
|
||||
if (card.color) {
|
||||
cardToCreate.color = card.color;
|
||||
}
|
||||
// insert card
|
||||
const cardId = Cards.direct.insert(cardToCreate);
|
||||
// keep track of Wekan id => Wekan id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue