diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.js index e8532a83ee..59fd69abc6 100644 --- a/public/src/modules/helpers.js +++ b/public/src/modules/helpers.js @@ -115,17 +115,21 @@ // Groups helpers helpers.membershipBtn = function(groupObj) { - if (groupObj.isMember) { - return ''; - } else { - if (groupObj.isPending) { - return ''; - } else if (groupObj.isInvited) { - return ''; + if (groupObj.name==='administrators') { + return ''; + } else { + if (groupObj.isMember) { + return ''; } else { - return ''; + if (groupObj.isPending) { + return ''; + } else if (groupObj.isInvited) { + return ''; + } else { + return ''; + } } - } + } }; helpers.spawnPrivilegeStates = function(member, privileges) {