summaryrefslogtreecommitdiffstats
path: root/client/components/rules
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/rules')
-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 [{}];