summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-12 12:19:53 +0200
committerAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-12 12:19:53 +0200
commite649c79bb71140a15f8e65fdb98ecb367469c0b7 (patch)
tree5e231b6d762e99e6557582e0a51da5a516988a6a /client
parent34b37116cf8c618a4ea12b13d969c24654f4248b (diff)
downloadwekan-e649c79bb71140a15f8e65fdb98ecb367469c0b7.tar.gz
wekan-e649c79bb71140a15f8e65fdb98ecb367469c0b7.tar.bz2
wekan-e649c79bb71140a15f8e65fdb98ecb367469c0b7.zip
Fixed board id bug in move
Diffstat (limited to 'client')
-rw-r--r--client/components/rules/rulesList.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/components/rules/rulesList.js b/client/components/rules/rulesList.js
index caafe29f..9b97a7c8 100644
--- a/client/components/rules/rulesList.js
+++ b/client/components/rules/rulesList.js
@@ -4,7 +4,8 @@ BlazeComponent.extendComponent({
},
rules() {
- return Rules.find({});
+ const boardId = Session.get('currentBoard');
+ return Rules.find({"boardId":boardId});
},
events() {
return [{}];