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/boards | |
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/boards')
-rw-r--r-- | client/components/boards/boardBody.js | 2 | ||||
-rw-r--r-- | client/components/boards/boardsList.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js index 301c0742..dc5e0ede 100644 --- a/client/components/boards/boardBody.js +++ b/client/components/boards/boardBody.js @@ -14,7 +14,7 @@ BlazeComponent.extendComponent({ const currentBoardId = Session.get('currentBoard'); if (!currentBoardId) return; - const handle = subManager.subscribe('board', currentBoardId); + const handle = subManager.subscribe('board', currentBoardId, false); Tracker.nonreactive(() => { Tracker.autorun(() => { this.isBoardReady.set(handle.ready()); diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js index e97070ee..0fb80230 100644 --- a/client/components/boards/boardsList.js +++ b/client/components/boards/boardsList.js @@ -33,12 +33,12 @@ BlazeComponent.extendComponent({ }, hasOvertimeCards() { - subManager.subscribe('board', this.currentData()._id); + subManager.subscribe('board', this.currentData()._id, false); return this.currentData().hasOvertimeCards(); }, hasSpentTimeCards() { - subManager.subscribe('board', this.currentData()._id); + subManager.subscribe('board', this.currentData()._id, false); return this.currentData().hasSpentTimeCards(); }, |