diff options
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r-- | client/components/cards/cardDetails.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index c358b306..f13404a5 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -1,3 +1,5 @@ +const subManager = new SubsManager(); + BlazeComponent.extendComponent({ mixins() { return [Mixins.InfiniteScrolling, Mixins.PerfectScrollbar]; @@ -231,13 +233,13 @@ BlazeComponent.extendComponent({ }, aBoardLists() { + subManager.subscribe('board', this.selectedBoard.get()); const board = Boards.findOne(this.selectedBoard.get()); return board.lists(); }, - events() { return [{ - 'change .js-select-boards' (evt) { + 'change .js-select-boards'(evt) { this.selectedBoard.set($(evt.currentTarget).val()); }, }]; |