Skip to content

Commit

Permalink
fix: remove toolsVisible in post tools' menu [breaking]
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Sep 11, 2020
1 parent ed0469b commit 7e7366b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/socket.io/posts/tools.js
Expand Up @@ -49,7 +49,6 @@ module.exports = function (SocketPosts) {
postData.display_change_owner_tools = results.isAdmin || results.isModerator;
postData.display_ip_ban = (results.isAdmin || results.isGlobalMod) && !postData.selfPost;
postData.display_history = results.history;
postData.toolsVisible = postData.tools.length || postData.display_moderator_tools;
postData.flags = {
flagId: parseInt(results.posts.flagId, 10) || null,
can: results.canFlag.flag,
Expand Down

0 comments on commit 7e7366b

Please sign in to comment.