We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c00b2 commit d2f99e5Copy full SHA for d2f99e5
src/stats/StatsManager.ts
@@ -163,6 +163,7 @@ export default class StatsManager {
163
citations: {
164
initial: currentCitations,
165
current: currentCitations,
166
+ },
167
pages: {
168
initial: currentPages,
169
current: currentPages,
@@ -194,7 +195,7 @@ export default class StatsManager {
194
195
const citations = Object.values(modFiles)
196
.map((counts) =>
197
Math.max(0, counts.citations.current - counts.citations.initial)
- )
198
+ ).reduce((a, b) => a + b, 0);
199
const pages = Object.values(modFiles)
200
201
Math.max(0, counts.pages.current - counts.pages.initial)
0 commit comments