From 70194541db4098c28b2577139f3f5fe62dcfa627 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Fri, 30 Jan 2026 14:23:32 +0100 Subject: [PATCH] Show all work in card and fix comma --- web/components/profile-grid.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/components/profile-grid.tsx b/web/components/profile-grid.tsx index f3200479..8b40dfca 100644 --- a/web/components/profile-grid.tsx +++ b/web/components/profile-grid.tsx @@ -176,9 +176,10 @@ function ProfilePreview(props: { {seekingGenderText &&

{seekingGenderText}.

} {(!!profile.work?.length || profile.occupation_title) &&

{t("profile.optional.category.work", "Work")}:{" "} - {profile.occupation_title && profile.occupation_title + ", "} - {profile.work?.slice(0, 3).map(id => choicesIdsToLabels['work'][id]).join(', ')} - {(profile.work?.length || 0) > 3 && ',...'} + {profile.occupation_title} + {profile.occupation_title && !!profile.work?.length && (", ")} + {profile.work?.map(id => choicesIdsToLabels['work'][id]).join(', ')} + {/*{(profile.work?.length || 0) > 3 && ',...'}*/}

} {!!profile.interests?.length &&

{t("profile.optional.interests", "Interests")}:{" "}