missed this

This commit is contained in:
dank074 2021-12-22 19:54:48 -06:00
parent 13ff52bb12
commit 0da9cb2e9d

View File

@ -59,6 +59,8 @@ export const MarketplaceItemView: FC<MarketplaceItemViewProps> = props =>
{
if(!offerData) return '';
if(offerData.status === MarketPlaceOfferState.SOLD) return LocalizeText('catalog.marketplace.offer.sold');
if(offerData.timeLeftMinutes <= 0) return LocalizeText('catalog.marketplace.offer.expired');
const time = Math.max(1, offerData.timeLeftMinutes);