Add offer detail page /catalog/offers/[offerId]
All checks were successful
Build Docker Image / build (push) Successful in 4m28s
All checks were successful
Build Docker Image / build (push) Successful in 4m28s
- New page shows offer details, supplier info, and full KYC profile - Updated CalcResultContent to navigate to offer page on card click
This commit is contained in:
@@ -180,11 +180,7 @@ const getKycProfileUuid = (offerUuid?: string | null) => {
|
||||
// Navigate to offer detail page
|
||||
const navigateToOffer = (offerUuid?: string | null) => {
|
||||
if (!offerUuid) return
|
||||
const offer = offersData.value.get(offerUuid)
|
||||
if (!offer?.teamUuid || !productUuid.value || !destinationUuid.value) return
|
||||
|
||||
// Navigate to /catalog/suppliers/[supplierId]/[productId]/[hubId]
|
||||
navigateTo(localePath(`/catalog/suppliers/${offer.teamUuid}/${productUuid.value}/${destinationUuid.value}`))
|
||||
navigateTo(localePath(`/catalog/offers/${offerUuid}`))
|
||||
}
|
||||
|
||||
// Load offer details for prices
|
||||
|
||||
Reference in New Issue
Block a user