소스 검색

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

Lauri Ojansivu 7 년 전
부모
커밋
f4e0d92296
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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() {