Skip to content

Node.js based forum software built for the modern web

fix count

Barış Soner Uşaklıd401bf450b81
diff --git a/src/widgets/admin.js b/src/widgets/admin.js
index 0a56cf87c2..b27179f09e 100644
--- a/src/widgets/admin.js
+++ b/src/widgets/admin.js
@@ -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;