mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
minor fix to template rendering
This commit is contained in:
@@ -95,6 +95,8 @@ socket.on('api:topic.restore', function(response) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
socket.on('api:admin.topics.getMore', function(topics) {
|
socket.on('api:admin.topics.getMore', function(topics) {
|
||||||
|
topics = JSON.parse(topics);
|
||||||
|
console.log(topics);
|
||||||
var html = templates.prepare(templates['admin/topics'].blocks['topics']).parse(topics);
|
var html = templates.prepare(templates['admin/topics'].blocks['topics']).parse(topics);
|
||||||
console.log(html);
|
console.log(html);
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user