From 3d09cf4e1244f71db733ef96d8a6a5ff44390043 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Mon, 7 Nov 2022 15:33:09 +0800 Subject: [PATCH] [offers][feat] show location in offers table --- apps/portal/src/components/offers/table/OffersRow.tsx | 10 +++++++--- .../portal/src/components/offers/table/OffersTable.tsx | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/apps/portal/src/components/offers/table/OffersRow.tsx b/apps/portal/src/components/offers/table/OffersRow.tsx index f80802e4..52cfbb4e 100644 --- a/apps/portal/src/components/offers/table/OffersRow.tsx +++ b/apps/portal/src/components/offers/table/OffersRow.tsx @@ -23,6 +23,7 @@ export default function OfferTableRow({ company, id, income, + location, monthYearReceived, profileId, stocks, @@ -32,9 +33,12 @@ export default function OfferTableRow({ }: OfferTableRowProps) { return ( - - {company.name} - + +
{company.name}
+
+ {location.cityName} ({location.countryCode}) +
+ {getLabelForJobTitleType(title as JobTitleType)} diff --git a/apps/portal/src/components/offers/table/OffersTable.tsx b/apps/portal/src/components/offers/table/OffersTable.tsx index b200380b..7b2f4811 100644 --- a/apps/portal/src/components/offers/table/OffersTable.tsx +++ b/apps/portal/src/components/offers/table/OffersTable.tsx @@ -235,7 +235,8 @@ export default function OffersTable({