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