mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-28 09:31:17 +01:00
fix count
This commit is contained in:
@@ -61,7 +61,7 @@ function buildTemplatesFromAreas(areas) {
|
||||
templates.push({
|
||||
template: area.template,
|
||||
areas: [],
|
||||
widgetCount: area.location !== 'drafts' ? area.data.length : 0,
|
||||
widgetCount: 0,
|
||||
});
|
||||
|
||||
index += 1;
|
||||
|
||||
Reference in New Issue
Block a user