From d174e277f79940c662dc035a798b0a62fe7a8428 Mon Sep 17 00:00:00 2001 From: Saad Bin Rafiq <149799297+saadanzari@users.noreply.github.com> Date: Wed, 13 Nov 2024 15:46:49 +0100 Subject: [PATCH] fix(service marketplace detail): add providerUri in the provider details page (#1327) --- .../components/MarketplaceProvider/index.tsx | 7 ++++++- src/features/serviceMarketplace/serviceApiSlice.ts | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/pages/ServiceMarketplaceDetail/components/MarketplaceProvider/index.tsx b/src/components/pages/ServiceMarketplaceDetail/components/MarketplaceProvider/index.tsx index 0af0d8f96..3da4c74be 100644 --- a/src/components/pages/ServiceMarketplaceDetail/components/MarketplaceProvider/index.tsx +++ b/src/components/pages/ServiceMarketplaceDetail/components/MarketplaceProvider/index.tsx @@ -38,7 +38,12 @@ export default function MarketplaceProvider({ const tableData: TableType = { head: [t('appProvider'), t('website'), t('email'), t('phone')], - body: [[item.provider], [item.website], [item.contactEmail], [item.phone]], + body: [ + [item.provider], + [item.providerUri], + [item.contactEmail], + [item.phone], + ], } return ( diff --git a/src/features/serviceMarketplace/serviceApiSlice.ts b/src/features/serviceMarketplace/serviceApiSlice.ts index 3188d831f..6a1e0d45e 100644 --- a/src/features/serviceMarketplace/serviceApiSlice.ts +++ b/src/features/serviceMarketplace/serviceApiSlice.ts @@ -49,6 +49,7 @@ export type ServiceRequest = { serviceTypes: string[] serviceTypeIds?: string[] provider: string + providerUri: string leadPictureUri: string contactEmail: string description: string