summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-01-29 12:07:42 +0200
committerLauri Ojansivu <x@xet7.org>2018-01-29 12:07:42 +0200
commit65c081acc0859e9cb2f09f9aa050258952403795 (patch)
tree3d0d50b653b175bb0a37fd868ab19e5ed7989053 /models
parent735907977d14f2e4419e7a0548aa2c5c01ea7ab8 (diff)
downloadwekan-65c081acc0859e9cb2f09f9aa050258952403795.tar.gz
wekan-65c081acc0859e9cb2f09f9aa050258952403795.tar.bz2
wekan-65c081acc0859e9cb2f09f9aa050258952403795.zip
Fix: Trello board import fails because of missing "Swimlane id".
Thanks to xet7 ! Closes #1442
Diffstat (limited to 'models')
-rw-r--r--models/trelloCreator.js2
-rw-r--r--models/wekanCreator.js1
2 files changed, 3 insertions, 0 deletions
diff --git a/models/trelloCreator.js b/models/trelloCreator.js
index 0f801ea3..972673e6 100644
--- a/models/trelloCreator.js
+++ b/models/trelloCreator.js
@@ -149,6 +149,7 @@ export class TrelloCreator {
isAdmin: true,
isActive: true,
isCommentOnly: false,
+ swimlaneId: false,
}],
permission: this.getPermission(trelloBoard.prefs.permissionLevel),
slug: getSlug(trelloBoard.name) || 'board',
@@ -175,6 +176,7 @@ export class TrelloCreator {
isAdmin: this.getAdmin(trelloMembership.memberType),
isActive: true,
isCommentOnly: false,
+ swimlaneId: false,
});
}
}
diff --git a/models/wekanCreator.js b/models/wekanCreator.js
index ae8e32ca..b1533baa 100644
--- a/models/wekanCreator.js
+++ b/models/wekanCreator.js
@@ -146,6 +146,7 @@ export class WekanCreator {
isActive: true,
isAdmin: true,
isCommentOnly: false,
+ swimlaneId: false,
}],
// Standalone Export has modifiedAt missing, adding modifiedAt to fix it
modifiedAt: this._now(boardToImport.modifiedAt),