Allow normal user to delete checklist item.

Thanks to Samunosuke and xet7 !

Related #3377
This commit is contained in:
Lauri Ojansivu 2020-12-16 23:30:57 +02:00
parent ab4941390b
commit f9ba17177e

View file

@ -82,8 +82,7 @@ template(name="editChecklistItemForm")
a.fa.fa-times-thin.js-close-inlined-form
span(title=createdAt) {{ moment createdAt }}
if canModifyCard
if currentUser.isBoardAdmin
a.js-delete-checklist-item {{_ "delete"}}...
a.js-delete-checklist-item {{_ "delete"}}...
template(name="checklistItems")
.checklist-items.js-checklist-items