summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDetails.js
diff options
context:
space:
mode:
authorRyan Helsing <ryanhelsing@gmail.com>2017-03-18 18:49:39 -0400
committerRyan Helsing <ryanhelsing@gmail.com>2017-03-18 18:49:39 -0400
commitde10be6a21679ad6ea3a6d97506f84d32cc72d26 (patch)
tree1c34b9656a7df29857ca079cdd105585d9f61538 /client/components/cards/cardDetails.js
parentec9498fa627228bd411af6070645fa2ed7cd895d (diff)
downloadwekan-de10be6a21679ad6ea3a6d97506f84d32cc72d26.tar.gz
wekan-de10be6a21679ad6ea3a6d97506f84d32cc72d26.tar.bz2
wekan-de10be6a21679ad6ea3a6d97506f84d32cc72d26.zip
comment only working, naive implementation complete
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r--client/components/cards/cardDetails.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index ade1742d..b39f8e59 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -144,6 +144,10 @@ Template.cardDetailsActionsPopup.helpers({
isWatching() {
return this.findWatcher(Meteor.userId());
},
+
+ canModifyCard() {
+ return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly();
+ },
});
Template.cardDetailsActionsPopup.events({