summaryrefslogtreecommitdiffstats
path: root/client/components/rules/triggers/cardTriggers.js
diff options
context:
space:
mode:
authorAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-21 14:53:04 +0200
committerAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-21 14:53:04 +0200
commit1f02321e2767a4772a35f512fa29798b6aeadb9a (patch)
treeb789f9805243b186d7514f5f416ac5506fba522d /client/components/rules/triggers/cardTriggers.js
parent37a53e7466107d229a67a4c2efc4b25708bbe93d (diff)
downloadwekan-1f02321e2767a4772a35f512fa29798b6aeadb9a.tar.gz
wekan-1f02321e2767a4772a35f512fa29798b6aeadb9a.tar.bz2
wekan-1f02321e2767a4772a35f512fa29798b6aeadb9a.zip
Fixed rules about member and box dropdowns width
Diffstat (limited to 'client/components/rules/triggers/cardTriggers.js')
-rw-r--r--client/components/rules/triggers/cardTriggers.js10
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,
});
}