diff options
Diffstat (limited to 'client/components/boards/boardsList.js')
-rw-r--r-- | client/components/boards/boardsList.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js index 4ec4b534..6c9600a1 100644 --- a/client/components/boards/boardsList.js +++ b/client/components/boards/boardsList.js @@ -1,6 +1,13 @@ const subManager = new SubsManager(); BlazeComponent.extendComponent({ + onCreated() { + // Here is the only place that boards data needed, all boards data will stop sync when leaving this template. + Meteor.subscribe('boards'); + Meteor.subscribe('setting'); + Meteor.subscribe('user-admin'); + }, + boards() { return Boards.find({ archived: false, |