From 34abded7a7cf57ca9bf1ffbe6d70c4cb1a39588d Mon Sep 17 00:00:00 2001 From: Ai Ling Date: Tue, 25 Oct 2022 00:15:34 +0800 Subject: [PATCH] [offers][fix] Fix OEA profile job title --- .../components/offers/offerAnalysis/OfferProfileCard.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/portal/src/components/offers/offerAnalysis/OfferProfileCard.tsx b/apps/portal/src/components/offers/offerAnalysis/OfferProfileCard.tsx index af786c4b..13cbd2d8 100644 --- a/apps/portal/src/components/offers/offerAnalysis/OfferProfileCard.tsx +++ b/apps/portal/src/components/offers/offerAnalysis/OfferProfileCard.tsx @@ -4,6 +4,9 @@ import { } from '@heroicons/react/24/outline'; import { JobType } from '@prisma/client'; +import type { JobTitleType } from '~/components/shared/JobTitles'; +import { getLabelForJobTitleType } from '~/components/shared/JobTitles'; + import { HorizontalDivider } from '~/../../../packages/ui/dist'; import { convertMoneyToString } from '~/utils/offers/currency'; import { formatDate } from '~/utils/offers/time'; @@ -54,7 +57,9 @@ export default function OfferProfileCard({
-

{title}

+

+ {getLabelForJobTitleType(title as JobTitleType)} +

Company: {company.name}, {location}