修复预计 截止时间
This commit is contained in:
@@ -211,6 +211,7 @@ export function getSnapshotHafCoinM(order: Order | null) {
|
||||
}
|
||||
|
||||
export function orderEstimatedEndAt(order: Order | null) {
|
||||
if (order?.estimated_end_at) return order.estimated_end_at
|
||||
const rentedAt = order?.rented_at
|
||||
const durationHours = Number(order?.estimated_duration_hours || 0)
|
||||
if (!rentedAt || durationHours <= 0) return undefined
|
||||
|
||||
Reference in New Issue
Block a user