From 1714ac205766fa9d6dbf9bfa3ae443b72a4e385d Mon Sep 17 00:00:00 2001 From: Parikshit85 Date: Mon, 4 Mar 2024 12:38:08 +0530 Subject: [PATCH] chore: explore page services filtering --- src/ui/app/business/explore/page.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/app/business/explore/page.tsx b/src/ui/app/business/explore/page.tsx index 9593f428..d765275e 100644 --- a/src/ui/app/business/explore/page.tsx +++ b/src/ui/app/business/explore/page.tsx @@ -111,7 +111,9 @@ export default function Explore({}: Props) { twitterUsername: inf.user_name || "", profileUrl: inf.profile_image_url || "", services: inf.service_types - ? inf.service_types.map((service: any) => service.serviceType) + ? inf.service_types + .filter((service: any) => service.packageStatus == "published") + .map((service: any) => service.serviceType) : [], followers: formatTwitterFollowers(inf.followers_count),