ESlint no-unneeded-ternary

and no-extend-native, no-sequences
This commit is contained in:
Peter Jaszkowiak
2017-02-18 12:59:46 -07:00
parent 64a6322002
commit c4bdb72941
15 changed files with 24 additions and 23 deletions

View File

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