mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Card Details Popup, Checklist is now displayed
This commit is contained in:
parent
4a87d5f0f3
commit
24b0613bac
2 changed files with 6 additions and 1 deletions
|
@ -18,7 +18,7 @@ template(name="checklists")
|
|||
|
||||
|
||||
.card-checklist-items
|
||||
each checklist in currentCard.checklists
|
||||
each checklist in checklists
|
||||
+checklistDetail(checklist = checklist)
|
||||
|
||||
if canModifyCard
|
||||
|
|
|
@ -262,6 +262,11 @@ BlazeComponent.extendComponent({
|
|||
}).register('boardsSwimlanesAndLists');
|
||||
|
||||
Template.checklists.helpers({
|
||||
checklists() {
|
||||
const card = Cards.findOne(this.cardId);
|
||||
const ret = card.checklists();
|
||||
return ret;
|
||||
},
|
||||
hideCheckedItems() {
|
||||
const currentUser = Meteor.user();
|
||||
if (currentUser) return currentUser.hasHideCheckedItems();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue