mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
running eslint again
This commit is contained in:
@@ -124,7 +124,7 @@ helpers.getUserDataByUserSlug = function (userslug, callerUID, callback) {
|
||||
other: !isSelf,
|
||||
moderator: isModerator,
|
||||
globalMod: isGlobalModerator,
|
||||
admin: isAdmin
|
||||
admin: isAdmin,
|
||||
});
|
||||
|
||||
userData.sso = results.sso.associations;
|
||||
@@ -174,7 +174,7 @@ function filterLinks(links, states) {
|
||||
other: true,
|
||||
moderator: true,
|
||||
globalMod: true,
|
||||
admin: true
|
||||
admin: true,
|
||||
}, link.visibility);
|
||||
|
||||
// Iterate through states and permit if every test passes (or is not defined)
|
||||
|
||||
Reference in New Issue
Block a user