فهرست منبع

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 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 translators for their translations.

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

@@ -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');
   },
 

+ 1 - 0
client/components/main/header.js

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