diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-09-22 10:41:18 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-09-22 10:41:18 +0300 |
commit | dce63842bbf0c6c2e1c7bfb0ebdaec1fa4596880 (patch) | |
tree | 9defc686af46a4843461b41759ea1427990edb20 /client/components/rules/triggers/cardTriggers.js | |
parent | 86e3df0e5f977d8b6d3d6f2ac1d4c11b6942b83a (diff) | |
parent | 8c1630c6384947f7a5ccde02bc53789456c0811e (diff) | |
download | wekan-dce63842bbf0c6c2e1c7bfb0ebdaec1fa4596880.tar.gz wekan-dce63842bbf0c6c2e1c7bfb0ebdaec1fa4596880.tar.bz2 wekan-dce63842bbf0c6c2e1c7bfb0ebdaec1fa4596880.zip |
Merge branch 'Angtrim-feature-rules' into edge
Diffstat (limited to 'client/components/rules/triggers/cardTriggers.js')
-rw-r--r-- | client/components/rules/triggers/cardTriggers.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/components/rules/triggers/cardTriggers.js b/client/components/rules/triggers/cardTriggers.js index 704c7690..2303a85b 100644 --- a/client/components/rules/triggers/cardTriggers.js +++ b/client/components/rules/triggers/cardTriggers.js @@ -67,7 +67,7 @@ BlazeComponent.extendComponent({ datas.triggerVar.set({ activityType: 'joinMember', boardId, - 'memberId': '*', + 'username': '*', desc, }); } @@ -75,7 +75,7 @@ BlazeComponent.extendComponent({ datas.triggerVar.set({ activityType: 'unjoinMember', boardId, - 'memberId': '*', + 'username': '*', desc, }); } @@ -84,13 +84,13 @@ BlazeComponent.extendComponent({ const desc = Utils.getTriggerActionDesc(event, this); const datas = this.data(); const actionSelected = this.find('#spec-member-action').value; - const memberId = this.find('#spec-member').value; + const username = this.find('#spec-member').value; const boardId = Session.get('currentBoard'); if (actionSelected === 'added') { datas.triggerVar.set({ activityType: 'joinMember', boardId, - memberId, + username, desc, }); } @@ -98,7 +98,7 @@ BlazeComponent.extendComponent({ datas.triggerVar.set({ activityType: 'unjoinMember', boardId, - memberId, + username, desc, }); } |