mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: fire filter:topics.getUnreadTids even if there are no urnead topics
This commit is contained in:
@@ -67,7 +67,7 @@ module.exports = function (Topics) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const data = await getTids(params);
|
const data = await getTids(params);
|
||||||
if (uid <= 0 || !data.tids || !data.tids.length) {
|
if (uid <= 0) {
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user