mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
missed a bunch of "editable" checks
This commit is contained in:
@@ -291,7 +291,7 @@ var async = require('async'),
|
||||
topicData.thread_tools = results.threadTools;
|
||||
topicData.pageCount = results.pageCount;
|
||||
topicData.unreplied = parseInt(topicData.postcount, 10) === 1;
|
||||
topicData.expose_tools = results.privileges.editable ? 1 : 0;
|
||||
topicData.expose_tools = results.privileges.meta.editable ? 1 : 0;
|
||||
|
||||
callback(null, topicData);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user