mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
parantheses
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
properties = item.properties;
|
||||
|
||||
if (properties) {
|
||||
if (properties.loggedIn && !data.loggedIn ||
|
||||
properties.adminOnly && !data.isAdmin ||
|
||||
properties.installed && properties.installed.search && !data.searchEnabled) {
|
||||
if ((properties.loggedIn && !data.loggedIn) ||
|
||||
(properties.adminOnly && !data.isAdmin) ||
|
||||
(properties.installed && properties.installed.search && !data.searchEnabled)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user