fixed 6020

This commit is contained in:
seve12 2025-11-19 14:18:47 +02:00
parent 15172f401d
commit 87c38a1f94

View file

@ -305,7 +305,7 @@ BlazeComponent.extendComponent({
{
'click .js-delete-checklist': Popup.afterConfirm('checklistDelete', function () {
Popup.back(2);
const checklist = this.checklist;
const checklist = this.data().checklist;
if (checklist && checklist._id) {
Checklists.remove(checklist._id);
}