mirror of
https://github.com/wekan/wekan.git
synced 2025-12-28 13:18:49 +01:00
implement getDefaultSwimline for boards
This commit is contained in:
parent
aead18eb58
commit
04745f0c2f
4 changed files with 15 additions and 11 deletions
|
|
@ -46,7 +46,7 @@ BlazeComponent.extendComponent({
|
|||
if (boardView === 'board-view-swimlanes')
|
||||
swimlaneId = this.parentComponent().parentComponent().data()._id;
|
||||
else if (boardView === 'board-view-lists')
|
||||
swimlaneId = Swimlanes.findOne({boardId})._id;
|
||||
swimlaneId = this.data().board().getDefaultSwimline()._id;
|
||||
|
||||
if (title) {
|
||||
const _id = Cards.insert({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue