mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Fixed some rules
This commit is contained in:
parent
254c7fe951
commit
37a53e7466
3 changed files with 8 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue