Fix: Display missing prices and runtime
Show "Break-even price" and "target-price" if available. Do not render runtime if it is 0.
This commit is contained in:
@@ -189,7 +189,7 @@ const JobCardDetails: React.FC<JobCardDetailsProps> = ({ job }) => {
|
|||||||
icon={<Calendar className="w-4 h-4" />}
|
icon={<Calendar className="w-4 h-4" />}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{job.status === 'Running' && job.runtime && (
|
{job.status === 'Running' && job.runtime && job.runtime > 0 && (
|
||||||
<>
|
<>
|
||||||
<div className="flex items-center gap-2 text-sm text-gray-400">
|
<div className="flex items-center gap-2 text-sm text-gray-400">
|
||||||
<Clock className="w-4 h-4" />
|
<Clock className="w-4 h-4" />
|
||||||
|
Reference in New Issue
Block a user