summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-21 14:22:00 +0200
committerAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-21 14:22:00 +0200
commit37a53e7466107d229a67a4c2efc4b25708bbe93d (patch)
treed017d73aa17b3665435c313c7a08c733ade6a7cc /client/components
parent254c7fe95183bb6ba787cfca6bfd5255a8fea42e (diff)
downloadwekan-37a53e7466107d229a67a4c2efc4b25708bbe93d.tar.gz
wekan-37a53e7466107d229a67a4c2efc4b25708bbe93d.tar.bz2
wekan-37a53e7466107d229a67a4c2efc4b25708bbe93d.zip
Fixed some rules
Diffstat (limited to 'client/components')
-rw-r--r--client/components/rules/triggers/checklistTriggers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/rules/triggers/checklistTriggers.js b/client/components/rules/triggers/checklistTriggers.js
index 01f3effe..2272be29 100644
--- a/client/components/rules/triggers/checklistTriggers.js
+++ b/client/components/rules/triggers/checklistTriggers.js
@@ -78,7 +78,7 @@ BlazeComponent.extendComponent({
const actionSelected = this.find('#spec-comp-check-action').value;
const checklistId = this.find('#spec-comp-check-name').value;
const boardId = Session.get('currentBoard');
- if (actionSelected === 'added') {
+ if (actionSelected === 'completed') {
datas.triggerVar.set({
activityType: 'completeChecklist',
boardId,
@@ -86,7 +86,7 @@ BlazeComponent.extendComponent({
desc,
});
}
- if (actionSelected === 'removed') {
+ if (actionSelected === 'uncompleted') {
datas.triggerVar.set({
activityType: 'uncompleteChecklist',
boardId,