mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
ESlint no-unneeded-ternary
and no-extend-native, no-sequences
This commit is contained in:
@@ -21,7 +21,7 @@ define('forum/topic/posts', [
|
||||
return;
|
||||
}
|
||||
|
||||
data.loggedIn = app.user.uid ? true : false;
|
||||
data.loggedIn = !!app.user.uid;
|
||||
data.privileges = ajaxify.data.privileges;
|
||||
Posts.modifyPostsByPrivileges(data.posts);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user