Add offer detail page /catalog/offers/[offerId]
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:
Ruslan Bakiev
2026-01-21 14:53:27 +07:00
parent c1ae984fcc
commit 16c0a8112e
2 changed files with 177 additions and 5 deletions

View File

@@ -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