mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
hide category icons if they are not set
This commit is contained in:
@@ -226,7 +226,6 @@ var async = require('async'),
|
||||
for (var i=0; i<topics.length; ++i) {
|
||||
if (topics[i]) {
|
||||
topics[i].category = categories[topics[i].cid] || {};
|
||||
topics[i].category.disabled = parseInt(topics[i].category.disabled, 10) === 1;
|
||||
topics[i].user = users[topics[i].uid];
|
||||
topics[i].teaser = results.teasers[i];
|
||||
topics[i].tags = results.tags[i];
|
||||
|
||||
Reference in New Issue
Block a user