mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-28 05:27:36 +02:00
show message if there are not recent topics
This commit is contained in:
@@ -116,6 +116,7 @@ var RDB = require('./redis.js'),
|
||||
};
|
||||
|
||||
if (!tids || !tids.length) {
|
||||
latestTopics.no_topics_message = 'show';
|
||||
callback(latestTopics);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user