commit
This commit is contained in:
@@ -35,8 +35,9 @@ const PurchaseAuction = () => {
|
||||
}
|
||||
|
||||
function isAuctionEnd(item: any): boolean {
|
||||
console.log("item wih power ",item)
|
||||
const now = moment();
|
||||
const end = moment(item?.keyDates?.auctionBidding?.endDateTime, format);
|
||||
const end = moment(item.auctionStatus === "Amended" ? item?.amendedkeyDates?.auctionBidding?.endDateTime : item?.keyDates?.auctionBidding?.endDateTime, format);
|
||||
|
||||
if (!end.isValid()) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user