Fixed some rules

This commit is contained in:
Angelo Gallarello 2018-09-21 14:22:00 +02:00
parent 254c7fe951
commit 37a53e7466
3 changed files with 8 additions and 8 deletions

View file

@ -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,