mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
Fixed - boards subscription should be placed at header for all other component can be used
This commit is contained in:
parent
e2f768c6a0
commit
c686cadfef
2 changed files with 1 additions and 2 deletions
|
|
@ -2,8 +2,6 @@ const subManager = new SubsManager();
|
||||||
|
|
||||||
BlazeComponent.extendComponent({
|
BlazeComponent.extendComponent({
|
||||||
onCreated() {
|
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('setting');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
Meteor.subscribe('user-admin');
|
Meteor.subscribe('user-admin');
|
||||||
|
Meteor.subscribe('boards');
|
||||||
|
|
||||||
Template.header.helpers({
|
Template.header.helpers({
|
||||||
wrappedHeader() {
|
wrappedHeader() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue