Simplify OfferResultCard and use daisyUI Steps
All checks were successful
Build Docker Image / build (push) Successful in 4m42s

- Remove sourceName, latitude, longitude props from OfferResultCard
- Remove LocationMiniMap component (not needed, main map is on the side)
- Convert RouteStepper to use daisyUI steps-horizontal
- Update hub page and CalcResultContent to remove unused props
This commit is contained in:
Ruslan Bakiev
2026-01-15 00:33:17 +07:00
parent f03554893b
commit 0337cebc63
5 changed files with 19 additions and 143 deletions

View File

@@ -20,14 +20,11 @@
<OfferResultCard
v-for="option in productRouteOptions"
:key="option.sourceUuid"
:source-name="option.sourceName || 'Склад'"
:location-name="getOfferData(option.sourceUuid)?.locationName"
:product-name="productName"
:price-per-unit="getOfferData(option.sourceUuid)?.pricePerUnit"
:currency="getOfferData(option.sourceUuid)?.currency"
:unit="getOfferData(option.sourceUuid)?.unit"
:latitude="option.sourceLat"
:longitude="option.sourceLon"
:stages="getRouteStages(option)"
/>
</div>