mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
wekan-import: also import each swimlane color
This commit is contained in:
parent
ebc4d6fdbd
commit
d03a7e7a98
1 changed files with 4 additions and 0 deletions
|
@ -488,6 +488,10 @@ export class WekanCreator {
|
|||
title: swimlane.title,
|
||||
sort: swimlane.sort ? swimlane.sort : swimlaneIndex,
|
||||
};
|
||||
// set color
|
||||
if (swimlane.color) {
|
||||
swimlaneToCreate.color = swimlane.color;
|
||||
}
|
||||
const swimlaneId = Swimlanes.direct.insert(swimlaneToCreate);
|
||||
Swimlanes.direct.update(swimlaneId, {
|
||||
$set: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue