diff options
author | Ryan Helsing <ryanhelsing@gmail.com> | 2017-03-18 16:01:22 -0400 |
---|---|---|
committer | Ryan Helsing <ryanhelsing@gmail.com> | 2017-03-18 16:01:22 -0400 |
commit | ec9498fa627228bd411af6070645fa2ed7cd895d (patch) | |
tree | 027a1fdb3d6591ad831d8b99d19a361420f8bafe /client/components/cards/cardDetails.js | |
parent | cf85c9c6cda86ede8fdfe746a8affc33b8ba4719 (diff) | |
download | wekan-ec9498fa627228bd411af6070645fa2ed7cd895d.tar.gz wekan-ec9498fa627228bd411af6070645fa2ed7cd895d.tar.bz2 wekan-ec9498fa627228bd411af6070645fa2ed7cd895d.zip |
current progress
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r-- | client/components/cards/cardDetails.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index b7e0ef76..ade1742d 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -28,6 +28,10 @@ BlazeComponent.extendComponent({ return card.findWatcher(Meteor.userId()); }, + canModifyCard() { + return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly(); + }, + scrollParentContainer() { const cardPanelWidth = 510; const bodyBoardComponent = this.parentComponent(); |