mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
fix understood syntax
This commit is contained in:
parent
de10be6a21
commit
3fbce6dfd2
1 changed files with 2 additions and 2 deletions
|
@ -121,9 +121,9 @@ Template.memberPopup.helpers({
|
||||||
},
|
},
|
||||||
memberType() {
|
memberType() {
|
||||||
const type = Users.findOne(this.userId).isBoardAdmin() ? 'admin' : 'normal';
|
const type = Users.findOne(this.userId).isBoardAdmin() ? 'admin' : 'normal';
|
||||||
if(type == 'normal'){
|
if(type === 'normal'){
|
||||||
const currentBoard = Boards.findOne(Session.get('currentBoard'));
|
const currentBoard = Boards.findOne(Session.get('currentBoard'));
|
||||||
const commentOnly = currentBoard.hasCommentOnly(this.userId)
|
const commentOnly = currentBoard.hasCommentOnly(this.userId);
|
||||||
if(commentOnly){
|
if(commentOnly){
|
||||||
return TAPi18n.__('comment-only').toLowerCase();
|
return TAPi18n.__('comment-only').toLowerCase();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue