mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 21:40:23 +01:00
fix: category labels showing up on infinite scroll on category page
regression from cross posting tpl change
This commit is contained in:
@@ -216,9 +216,12 @@ define('topicList', [
|
|||||||
'reputation:disabled': data['reputation:disabled'],
|
'reputation:disabled': data['reputation:disabled'],
|
||||||
template: {
|
template: {
|
||||||
name: templateName,
|
name: templateName,
|
||||||
|
[templateName]: true,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
tplData.template[templateName] = true;
|
if (ajaxify.data.cid) {
|
||||||
|
tplData.cid = ajaxify.data.cid;
|
||||||
|
}
|
||||||
|
|
||||||
hooks.fire('action:topics.loading', { topics: topics, after: after, before: before });
|
hooks.fire('action:topics.loading', { topics: topics, after: after, before: before });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user