summaryrefslogtreecommitdiffstats
path: root/client/components/cards/subtasks.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-01-03 16:02:31 +0200
committerLauri Ojansivu <x@xet7.org>2020-01-03 16:02:31 +0200
commit27943796ade78ca3c503637a1340918bf06a1267 (patch)
treef5732aa18b55d49bb3933ddf65613b707329984c /client/components/cards/subtasks.js
parent9b288475928627d76dd7c379caf2b0eede8d9e4a (diff)
downloadwekan-27943796ade78ca3c503637a1340918bf06a1267.tar.gz
wekan-27943796ade78ca3c503637a1340918bf06a1267.tar.bz2
wekan-27943796ade78ca3c503637a1340918bf06a1267.zip
Revert to Wekan v3.57 version of client and models directories,
removing Worker role temporarily, because Worker role changes broke saving card. Thanks to xet7 !
Diffstat (limited to 'client/components/cards/subtasks.js')
-rw-r--r--client/components/cards/subtasks.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/client/components/cards/subtasks.js b/client/components/cards/subtasks.js
index 34348fe1..fab860bb 100644
--- a/client/components/cards/subtasks.js
+++ b/client/components/cards/subtasks.js
@@ -3,8 +3,7 @@ BlazeComponent.extendComponent({
return (
Meteor.user() &&
Meteor.user().isBoardMember() &&
- !Meteor.user().isCommentOnly() &&
- !Meteor.user().isWorker()
+ !Meteor.user().isCommentOnly()
);
},
}).register('subtaskDetail');
@@ -56,8 +55,7 @@ BlazeComponent.extendComponent({
return (
Meteor.user() &&
Meteor.user().isBoardMember() &&
- !Meteor.user().isCommentOnly() &&
- !Meteor.user().isWorker()
+ !Meteor.user().isCommentOnly()
);
},
@@ -156,8 +154,7 @@ Template.subtaskItemDetail.helpers({
return (
Meteor.user() &&
Meteor.user().isBoardMember() &&
- !Meteor.user().isCommentOnly() &&
- !Meteor.user().isWorker()
+ !Meteor.user().isCommentOnly()
);
},
});