fix price

This commit is contained in:
2026-06-11 15:17:14 +03:30
parent 84db7b013d
commit 249e251ba6
+1 -2
View File
@@ -41,8 +41,7 @@ export function getProductSellPrice(product: Product): number {
}
if (isMeltedTradeGroup(product.group_type)) {
const base = (product.price_profit ?? product.price ?? 0)
return base - (product.cash_fee_sell ?? 0)
return (product.price ?? 0) - (product.cash_fee_sell ?? 0)
}
return getTradeSellPrice(lastPrice.value)