diff options
author | wekan <wekan@wekan-sandstorm.workgroup> | 2019-05-13 11:01:50 +0200 |
---|---|---|
committer | wekan <wekan@wekan-sandstorm.workgroup> | 2019-05-13 11:01:50 +0200 |
commit | ab4fec0f3c6d5a613b309ae6fac41dbb31f1765d (patch) | |
tree | 385dbc5f574085f278182014edb7871780f851b9 /client/components/cards | |
parent | b98347947661e5c79f286a4e5d7f11e614dfb43c (diff) | |
download | wekan-ab4fec0f3c6d5a613b309ae6fac41dbb31f1765d.tar.gz wekan-ab4fec0f3c6d5a613b309ae6fac41dbb31f1765d.tar.bz2 wekan-ab4fec0f3c6d5a613b309ae6fac41dbb31f1765d.zip |
Fixed #2338 -> Slow opening of big boards with too many archived items
Diffstat (limited to 'client/components/cards')
-rw-r--r-- | client/components/cards/cardDetails.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 79e9e311..c9254751 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -424,7 +424,7 @@ Template.moveCardPopup.events({ }); BlazeComponent.extendComponent({ onCreated() { - subManager.subscribe('board', Session.get('currentBoard')); + subManager.subscribe('board', Session.get('currentBoard'), false); this.selectedBoardId = new ReactiveVar(Session.get('currentBoard')); }, @@ -453,7 +453,7 @@ BlazeComponent.extendComponent({ return [{ 'change .js-select-boards'(evt) { this.selectedBoardId.set($(evt.currentTarget).val()); - subManager.subscribe('board', this.selectedBoardId.get()); + subManager.subscribe('board', this.selectedBoardId.get(), false); }, }]; }, @@ -676,7 +676,7 @@ BlazeComponent.extendComponent({ if (selection === 'none') { this.parentBoard.set(null); } else { - subManager.subscribe('board', $(evt.currentTarget).val()); + subManager.subscribe('board', $(evt.currentTarget).val(), false); this.parentBoard.set(selection); list.prop('disabled', false); } |