diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.js index 149e13cf0a..9f643d8736 100644 --- a/public/src/modules/helpers.js +++ b/public/src/modules/helpers.js @@ -16,8 +16,13 @@ if (properties) { if (properties.loggedIn && !data.loggedIn || properties.adminOnly && !data.isAdmin || - properties.installed && properties.installed.search && !data.searchEnabled || - properties.hideIfPrivate && data.privateUserInfo) { + properties.installed && properties.installed.search && !data.searchEnabled) { + return false; + } + } + + if (item.route.match('/users')) { + if (data.privateUserInfo && !data.isAdmin) { return false; } }