From 1471f3b60c3b290c083725ad09f9d1f6897b650f Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 13 Jun 2023 10:23:16 +0100 Subject: [PATCH] fix: hide spam link for now --- src/components/WebMentions.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/WebMentions.vue b/src/components/WebMentions.vue index f37566bb..3e01b3fd 100644 --- a/src/components/WebMentions.vue +++ b/src/components/WebMentions.vue @@ -30,7 +30,10 @@ const { data: mentions, pending } = useFetch( lazy: true, default: () => [], server: false, - transform: (r: any) => r.children as WebMention[], + transform: (r: any) => + (r.children as WebMention[]).filter( + c => !c.url.startsWith('https://geek.ds3783.com') + ), } ) -- knotmirror 0.0.1