mirror of
https://github.com/wekan/wekan.git
synced 2025-12-31 22:58:48 +01:00
implement getDefaultSwimline for boards
This commit is contained in:
parent
aead18eb58
commit
04745f0c2f
4 changed files with 15 additions and 11 deletions
|
|
@ -16,7 +16,7 @@ BlazeComponent.extendComponent({
|
|||
const crtBoard = Boards.findOne(card.boardId);
|
||||
const targetBoard = crtBoard.getDefaultSubtasksBoard();
|
||||
const listId = targetBoard.getDefaultSubtasksListId();
|
||||
const swimlaneId = Swimlanes.findOne({boardId: targetBoard._id})._id;
|
||||
const swimlaneId = targetBoard.getDefaultSwimline()._id;
|
||||
|
||||
if (title) {
|
||||
const _id = Cards.insert({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue