summaryrefslogtreecommitdiffstats
path: root/client/components/lists/list.js
diff options
context:
space:
mode:
authoramadilsons <joao.amado.95@gmail.com>2017-10-05 16:46:55 +0200
committeramadilsons <joao.amado.95@gmail.com>2017-10-05 16:46:55 +0200
commit214fe6a61f60513d3ddfc9eee423c1b932ff8463 (patch)
tree9dee4e972a60a55f3c9dd18733c664c95520a248 /client/components/lists/list.js
parentc865bfe49785181d97b25cb683c0ed37d82c1a69 (diff)
downloadwekan-214fe6a61f60513d3ddfc9eee423c1b932ff8463.tar.gz
wekan-214fe6a61f60513d3ddfc9eee423c1b932ff8463.tar.bz2
wekan-214fe6a61f60513d3ddfc9eee423c1b932ff8463.zip
feature implemented, known bugs fixed
Diffstat (limited to 'client/components/lists/list.js')
-rw-r--r--client/components/lists/list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js
index d99fc963..0e913207 100644
--- a/client/components/lists/list.js
+++ b/client/components/lists/list.js
@@ -81,7 +81,7 @@ BlazeComponent.extendComponent({
function userIsMember() {
return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly();
}
-
+
// Disable drag-dropping if the current user is not a board member or is comment only
this.autorun(() => {
$cards.sortable('option', 'disabled', !userIsMember());