Checklist, hide all checklist items possible, regardless if the checklist item is finished or not

This commit is contained in:
Martin Filser 2024-08-12 19:21:08 +02:00
parent bb17feaa17
commit 0783b733b0
4 changed files with 36 additions and 3 deletions

View file

@ -317,6 +317,11 @@ BlazeComponent.extendComponent({
this.data().checklist.toggleHideCheckedChecklistItems();
Popup.back();
},
'click .js-hide-all-checklist-items'(event) {
event.preventDefault();
this.data().checklist.toggleHideAllChecklistItems();
Popup.back();
},
}
]
}