fix(instant sale): show item price in instant sale

This commit is contained in:
shotgunofdeath 2021-09-21 14:59:43 +03:00
parent 3e8720ab06
commit 57fb579a8a
2 changed files with 5 additions and 10 deletions

View File

@ -609,12 +609,7 @@ export const AuctionCard = ({
)}
</div>
)}
{!auctionView.isInstantSale && (
<>
<br />
<AuctionNumbers auctionView={auctionView} />
</>
)}
<AuctionNumbers auctionView={auctionView} />
<br />
{tickSizeInvalid && tickSize && (
<span style={{ color: 'red' }}>

View File

@ -50,7 +50,7 @@ export const AuctionNumbers = (props: { auctionView: AuctionView }) => {
return (
<div style={{ minWidth: 350 }}>
<Row>
{!ended && (
{(!ended || auctionView.isInstantSale) && (
<Col span={12}>
{(isUpcoming || bids.length === 0) && (
<AmountLabel
@ -74,9 +74,9 @@ export const AuctionNumbers = (props: { auctionView: AuctionView }) => {
</Col>
)}
<Col span={ended ? 24 : 12}>
<Countdown state={state} />
</Col>
{!ended && <Col span={ended ? 24 : 12}>
<Countdown state={state}/>
</Col>}
</Row>
</div>
);