Use offer result cards in catalog and compute routes for supplier offers
All checks were successful
Build Docker Image / build (push) Successful in 5m50s

This commit is contained in:
Ruslan Bakiev
2026-02-05 19:02:26 +07:00
parent f1eb7bc746
commit beb02bd3fc
5 changed files with 61 additions and 43 deletions

View File

@@ -37,13 +37,14 @@
<!-- Offers Tab -->
<template v-if="activeTab === 'offers'">
<OfferCard
<OfferResultCard
v-for="(offer, index) in offers"
:key="offer.uuid ?? index"
:offer="offer"
selectable
compact
:is-selected="selectedId === offer.uuid"
:location-name="offer.locationName"
:product-name="offer.title || undefined"
:stages="[]"
:start-name="offer.locationName || undefined"
:end-name="undefined"
@select="selectOffer(offer)"
/>
<Text v-if="offers.length === 0" tone="muted" size="sm" class="text-center py-4">