Fixed - boards subscription should be placed at header for all other component can be used

This commit is contained in:
Thuan Pham Quoc 2017-12-06 15:39:54 +07:00
parent e2f768c6a0
commit c686cadfef
2 changed files with 1 additions and 2 deletions

View file

@ -2,8 +2,6 @@ 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');
},

View file

@ -1,4 +1,5 @@
Meteor.subscribe('user-admin');
Meteor.subscribe('boards');
Template.header.helpers({
wrappedHeader() {