diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx index d5e64c46..8a461658 100644 --- a/web/components/bets-list.tsx +++ b/web/components/bets-list.tsx @@ -668,6 +668,14 @@ function BetRow(props: { ? 'N/A' : formatMoney(calculatePayout(contract, bet, bet.outcome)) + const hadPoolMatch = + bet.fills?.some((fill) => fill.matchedBetId === null) ?? false + + const ofTotalAmount = + bet.limitProb === undefined || bet.orderAmount === undefined + ? '' + : ` / ${formatMoney(bet.orderAmount)}` + return ( @@ -694,13 +702,22 @@ function BetRow(props: { {isPseudoNumeric && ' than ' + formatNumericProbability(bet.probAfter, contract)} - {formatMoney(Math.abs(amount))} + + {formatMoney(Math.abs(amount))} + {ofTotalAmount} + {!isCPMM && !isNumeric && {saleDisplay}} {!isCPMM && !isResolved && {payoutIfChosenDisplay}} {formatWithCommas(Math.abs(shares))} {!isPseudoNumeric && ( - {formatPercent(probBefore)} → {formatPercent(probAfter)} + {outcomeType === 'FREE_RESPONSE' || hadPoolMatch ? ( + <> + {formatPercent(probBefore)} → {formatPercent(probAfter)} + + ) : ( + formatPercent(bet.limitProb ?? 0) + )} )} {dayjs(createdTime).format('MMM D, h:mma')}