summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-12-11 22:13:28 +0200
committerLauri Ojansivu <x@xet7.org>2017-12-11 22:13:28 +0200
commitf4e0d922963317e3df70ddf880701d2829315984 (patch)
treec7d7b231c98ce47077d04d6b582be4d9a78f242e
parent7214e4bb2f66c648d45cc1f4faf3c341c9a2144c (diff)
parent9e0142b885155fb90b111b6a09fb397c5ae9cbd8 (diff)
downloadwekan-f4e0d922963317e3df70ddf880701d2829315984.tar.gz
wekan-f4e0d922963317e3df70ddf880701d2829315984.tar.bz2
wekan-f4e0d922963317e3df70ddf880701d2829315984.zip
Merge branch 'thuanpq-fix-bug-on-header-quick-access' into devel
-rw-r--r--CHANGELOG.md3
-rw-r--r--client/components/boards/boardsList.js2
-rw-r--r--client/components/main/header.js1
3 files changed, 3 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8517746a..0d3a2d32 100644
--- a/CHANGELOG.md
+++ b/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.
diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js
index cc4e2f87..1ed88146 100644
--- a/client/components/boards/boardsList.js
+++ b/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');
},
diff --git a/client/components/main/header.js b/client/components/main/header.js
index 3155b3d9..7fbc5716 100644
--- a/client/components/main/header.js
+++ b/client/components/main/header.js
@@ -1,4 +1,5 @@
Meteor.subscribe('user-admin');
+Meteor.subscribe('boards');
Template.header.helpers({
wrappedHeader() {