Skip to content

Commit

Permalink
chore: explore page services filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Parikshit85 committed Mar 4, 2024
1 parent cc40e4f commit 1714ac2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/app/business/explore/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 1714ac2

Please sign in to comment.