Skip to content

Commit

Permalink
Fix medusajs#137 price update is not showing if action is ITEM_ADD
Browse files Browse the repository at this point in the history
Fix medusajs#137 but .item.detail.xxx type is missing in BaseOrderItemDetail
  • Loading branch information
docloulou authored Dec 20, 2024
1 parent cf9e86b commit ce5ead2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ export const QuoteItem = ({
<AmountCell
className="text-sm text-right justify-end items-end"
currencyCode={currencyCode}
amount={item.unit_price}
originalAmount={originalItem?.unit_price}
amount={item.detail.unit_price}
originalAmount={isAddedItem ? item.unit_price: originalItem?.unit_price }
/>
</div>

Expand Down

0 comments on commit ce5ead2

Please sign in to comment.