mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 00:28:49 +01:00
Move every Boards.findOne(Session.get('currentBoard')) to the ReactiveCache
This commit is contained in:
parent
cecf69af02
commit
9022e9949f
18 changed files with 69 additions and 69 deletions
|
|
@ -75,7 +75,7 @@ BlazeComponent.extendComponent({
|
|||
const nCards = MultiSelection.isActive() ? MultiSelection.count() : 1;
|
||||
const sortIndex = calculateIndex(prevCardDom, nextCardDom, nCards);
|
||||
const listId = Blaze.getData(ui.item.parents('.list').get(0))._id;
|
||||
const currentBoard = Boards.findOne(Session.get('currentBoard'));
|
||||
const currentBoard = Utils.getCurrentBoard();
|
||||
const defaultSwimlaneId = currentBoard.getDefaultSwimline()._id;
|
||||
let targetSwimlaneId = null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue