diff --git a/pages/collections/[id].tsx b/pages/collections/[id].tsx index 798a98a..097e4f1 100644 --- a/pages/collections/[id].tsx +++ b/pages/collections/[id].tsx @@ -236,7 +236,7 @@ export default function Index() { {links[0] ? ( -
+
{links .filter((e) => e.collectionId === Number(router.query.id)) .map((e, i) => { diff --git a/pages/tags/[id].tsx b/pages/tags/[id].tsx index 0571b4a..afbd1a5 100644 --- a/pages/tags/[id].tsx +++ b/pages/tags/[id].tsx @@ -66,7 +66,7 @@ export default function Index() { ) : null}
-
+
{links .filter((e) => e.tags.some((e) => e.id === Number(router.query.id))) .map((e, i) => {