From 3fbce6dfd2f429452824c2501382a386190c67e4 Mon Sep 17 00:00:00 2001 From: Ryan Helsing Date: Sun, 19 Mar 2017 15:21:06 -0400 Subject: fix understood syntax --- client/components/sidebar/sidebar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/components/sidebar') 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 { -- cgit v1.2.3-1-g7c22