Fixed group referrers count. Closes #3257
This commit is contained in:
@@ -23,7 +23,7 @@ export default function ({ children }) {
|
|||||||
<meta name="theme-color" content="#2f2f2f" media="(prefers-color-scheme: dark)" />
|
<meta name="theme-color" content="#2f2f2f" media="(prefers-color-scheme: dark)" />
|
||||||
<meta name="robots" content="noindex,nofollow" />
|
<meta name="robots" content="noindex,nofollow" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body suppressHydrationWarning>
|
||||||
<Providers>{children}</Providers>
|
<Providers>{children}</Providers>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -69,11 +69,10 @@ export function ReferrersTable({ allowFilter, ...props }: ReferrersTableProps) {
|
|||||||
if (!groups[domain]) {
|
if (!groups[domain]) {
|
||||||
groups[domain] = 0;
|
groups[domain] = 0;
|
||||||
}
|
}
|
||||||
groups[domain] += y;
|
groups[domain] += +y;
|
||||||
} else {
|
|
||||||
groups._other += y;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
groups._other += +y;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Object.keys(groups)
|
return Object.keys(groups)
|
||||||
|
|||||||
Reference in New Issue
Block a user