comment only working, naive implementation complete

This commit is contained in:
Ryan Helsing 2017-03-18 18:49:39 -04:00
parent ec9498fa62
commit de10be6a21
13 changed files with 64 additions and 18 deletions

View file

@ -77,6 +77,12 @@ BlazeComponent.extendComponent({
},
}).register('checklists');
Template.itemDetail.helpers({
canModifyCard() {
return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly();
},
});
BlazeComponent.extendComponent({
toggleItem() {
const checklist = this.currentData().checklist;