Skip to content

Commit

Permalink
Merge pull request #39 from GitNation/changeCompanyToCompanyCountryData
Browse files Browse the repository at this point in the history
change company to companyCountryData
  • Loading branch information
lero62 authored Sep 20, 2024
2 parents 33d83d0 + 9ed9f98 commit ff7bf27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ const prepareSpeakers = (speakers, tagColors, labelColors, isCommonSpeakers) =>
})
.map(async ({ bio, speaker, avatar, activities, ...item }) => ({
...item,
company: [item.company, item.country].filter(Boolean).join(', '),
companyWithCountry: [item.company, item.country]
.filter(Boolean)
.join(', '),
avatar: avatar.url,
bio: await markdownToHtml(bio),
socials: getSocials(item),
Expand Down

0 comments on commit ff7bf27

Please sign in to comment.