summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar
diff options
context:
space:
mode:
authorRyan Helsing <ryanhelsing@gmail.com>2017-03-19 15:21:06 -0400
committerRyan Helsing <ryanhelsing@gmail.com>2017-03-19 15:21:06 -0400
commit3fbce6dfd2f429452824c2501382a386190c67e4 (patch)
tree0c1a44adc8a769f229103dd2296d0977f331a574 /client/components/sidebar
parentde10be6a21679ad6ea3a6d97506f84d32cc72d26 (diff)
downloadwekan-3fbce6dfd2f429452824c2501382a386190c67e4.tar.gz
wekan-3fbce6dfd2f429452824c2501382a386190c67e4.tar.bz2
wekan-3fbce6dfd2f429452824c2501382a386190c67e4.zip
fix understood syntax
Diffstat (limited to 'client/components/sidebar')
-rw-r--r--client/components/sidebar/sidebar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js
index 92712e28..1290fd13 100644
--- a/client/components/sidebar/sidebar.js
+++ b/client/components/sidebar/sidebar.js
@@ -121,9 +121,9 @@ Template.memberPopup.helpers({
},
memberType() {
const type = Users.findOne(this.userId).isBoardAdmin() ? 'admin' : 'normal';
- if(type == 'normal'){
+ if(type === 'normal'){
const currentBoard = Boards.findOne(Session.get('currentBoard'));
- const commentOnly = currentBoard.hasCommentOnly(this.userId)
+ const commentOnly = currentBoard.hasCommentOnly(this.userId);
if(commentOnly){
return TAPi18n.__('comment-only').toLowerCase();
} else {