Files
pc_builder/inertia
Kevin L'Hereec fa74791c92
Build & Deploy / build (push) Failing after 5s
Build & Deploy / docker (push) Skipped
fix: update displayed catalog price after comparing merchant prices
The catalog price shown next to a part (e.g. '€979.95') stayed stuck at
its initial search-result value even after 'Compare prices' found and
persisted a cheaper offer server-side (updatePriceIfCheaper already saves
it to the database, but the locally held search result was never
updated) — so the UI showed a stale, higher price right above a
correctly-labeled 'cheapest' offer, which was confusing (e.g. '€979.95'
next to 'Cdiscount: €741.51 (cheapest)').

comparePrices() now also updates part.price locally when the cheapest
offer found beats it (or no catalog price was known), mirroring what the
backend already persisted, so the display is consistent without needing
to re-run the search.
2026-07-23 17:01:08 +02:00
..
2026-06-29 22:48:59 +02:00
fix
2026-06-28 11:37:12 +02:00