diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/components/rules/rulesList.js | 3 |
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 [{}]; |