v1.18.x
psychobunny 10 years ago
parent 80945eff7e
commit 9bf55c96d2

@ -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;
}
}

Loading…
Cancel
Save