mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-23 08:50:27 +01:00
chore: eslint prefer-arrow-callback
This commit is contained in:
committed by
Julian Lam
parent
707b55b6a5
commit
b56d9e12b5
@@ -150,7 +150,7 @@ module.exports = function (Categories) {
|
||||
return;
|
||||
}
|
||||
|
||||
topics.forEach(function (topic) {
|
||||
topics.forEach((topic) => {
|
||||
if (topic.deleted && !topic.isOwner) {
|
||||
topic.title = '[[topic:topic_is_deleted]]';
|
||||
topic.slug = topic.tid;
|
||||
|
||||
Reference in New Issue
Block a user