From ee09bae19f0f5864ccb5f21a61343225ba5ae870 Mon Sep 17 00:00:00 2001 From: zmeyer44 Date: Wed, 18 Oct 2023 15:23:38 -0400 Subject: [PATCH] testin new list filters --- app/(app)/app/_sections/FeaturedLists.tsx | 4 ++++ constants/app.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/app/(app)/app/_sections/FeaturedLists.tsx b/app/(app)/app/_sections/FeaturedLists.tsx index 6852362..2970d81 100644 --- a/app/(app)/app/_sections/FeaturedLists.tsx +++ b/app/(app)/app/_sections/FeaturedLists.tsx @@ -39,6 +39,10 @@ export default function FeaturedLists() { }); const processedEvents = events + .filter( + (a) => + !!getTagValues("image", a.tags) ?? !!getTagValues("picture", a.tags), + ) .sort((a, b) => { const aTitle = getTagValues("title", a.tags) ?? diff --git a/constants/app.ts b/constants/app.ts index 383e76f..29c1407 100644 --- a/constants/app.ts +++ b/constants/app.ts @@ -34,6 +34,7 @@ export const NOTABLE_ACCOUNTS = [ "npub1ejxswthae3nkljavznmv66p9ahp4wmj4adux525htmsrff4qym9sz2t3tv", "npub107jk7htfv243u0x5ynn43scq9wrxtaasmrwwa8lfu2ydwag6cx2quqncxg", "npub1zach44xjpc4yyhx6pgse2cj2pf98838kja03dv2e8ly8lfr094vqvm5dy5", + "npub1hfjy5e49uxr97x0rduxtnk748vcaupj35lamyhdt9xswxc4khw2s6vxa9q", ]; export const BANNER =