Browse Source

Merge branch 'thuanpq-fix-bug-on-header-quick-access' into devel

Lauri Ojansivu 8 years ago
parent
commit
f4e0d92296
3 changed files with 3 additions and 3 deletions
  1. 2 1
      CHANGELOG.md
  2. 0 2
      client/components/boards/boardsList.js
  3. 1 0
      client/components/main/header.js

+ 2 - 1
CHANGELOG.md

@@ -12,7 +12,8 @@ and fixes the following bugs:
 
 
 * [Bug on not being able to see Admin Panel if not having access to Board List](https://github.com/wekan/wekan/pull/1371);
 * [Bug on not being able to see Admin Panel if not having access to Board List](https://github.com/wekan/wekan/pull/1371);
 * [Bug on not able to see member avatar on sidebar activity](https://github.com/wekan/wekan/pull/1380);
 * [Bug on not able to see member avatar on sidebar activity](https://github.com/wekan/wekan/pull/1380);
-* [Don't open swipebox on update card cover / download file / delete file](https://github.com/wekan/wekan/pull/1386).
+* [Don't open swipebox on update card cover / download file / delete file](https://github.com/wekan/wekan/pull/1386);
+* [Boards subscription should be placed at header for all other component can be used](https://github.com/wekan/wekan/pull/1381).
 
 
 Thanks to GitHub users mfshiu, thuanpq and xet7 for their contributions.
 Thanks to GitHub users mfshiu, thuanpq and xet7 for their contributions.
 Thanks to translators for their translations.
 Thanks to translators for their translations.

+ 0 - 2
client/components/boards/boardsList.js

@@ -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 - 0
client/components/main/header.js

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