mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-13 17:46:52 -04:00
Show all work in card and fix comma
This commit is contained in:
@@ -176,9 +176,10 @@ function ProfilePreview(props: {
|
||||
{seekingGenderText && <p>{seekingGenderText}.</p>}
|
||||
{(!!profile.work?.length || profile.occupation_title) && <p>
|
||||
{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 && ',...'}*/}
|
||||
</p>}
|
||||
{!!profile.interests?.length && <p>
|
||||
{t("profile.optional.interests", "Interests")}:{" "}
|
||||
|
||||
Reference in New Issue
Block a user