mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 09:38:49 +01:00
Allow description and member two way binding
This commit is contained in:
parent
a93de07fb9
commit
0a62089df0
6 changed files with 82 additions and 14 deletions
|
|
@ -300,9 +300,10 @@ BlazeComponent.extendComponent({
|
|||
// Swimlane where to insert card
|
||||
const swimlane = $(Popup._getTopStack().openerElement).closest('.js-swimlane');
|
||||
this.swimlaneId = '';
|
||||
if (board.view === 'board-view-swimlanes')
|
||||
const boardView = Meteor.user().profile.boardView;
|
||||
if (boardView === 'board-view-swimlanes')
|
||||
this.swimlaneId = Blaze.getData(swimlane[0])._id;
|
||||
else
|
||||
else if (boardView === 'board-view-lists')
|
||||
this.swimlaneId = Swimlanes.findOne({boardId: this.boardId})._id;
|
||||
},
|
||||
|
||||
|
|
@ -382,7 +383,6 @@ BlazeComponent.extendComponent({
|
|||
sort: Lists.findOne(this.listId).cards().count(),
|
||||
type: 'cardType-importedBoard',
|
||||
importedId: impBoardId,
|
||||
description: Boards.findOne({_id: impBoardId}).description,
|
||||
});
|
||||
Filter.addException(_id);
|
||||
Popup.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue