diff --git a/components/metrics/MetricsTable.js b/components/metrics/MetricsTable.js
index eca58dc2..75fd579c 100644
--- a/components/metrics/MetricsTable.js
+++ b/components/metrics/MetricsTable.js
@@ -99,7 +99,7 @@ export default function MetricsTable({
)}
- {limit && data.length > limit && (
+ {limit && (
} size="xsmall" onClick={() => onExpand(type)}>
diff --git a/lib/filters.js b/lib/filters.js
index ee0a1759..acdab7a3 100644
--- a/lib/filters.js
+++ b/lib/filters.js
@@ -13,17 +13,13 @@ export const urlFilter = (data, { raw }) => {
const cleanUrl = url => {
try {
- const { pathname, search, searchParams } = new URL(url);
+ const { pathname, search } = new URL(url);
if (search.startsWith('?/')) {
return `${pathname}${search}`;
}
- const path = removeTrailingSlash(pathname);
- const ref = searchParams.get('ref');
- const query = ref ? `?ref=${ref}` : '';
-
- return `${path}${query}`;
+ return removeTrailingSlash(pathname);
} catch {
return null;
}