Skip to content

Commit 7bc307a

Browse files
committed
Added completed time to the waitpoint detail panel
1 parent bf5ec07 commit 7bc307a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

apps/webapp/app/components/runs/v3/WaitpointDetails.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,17 @@ export function WaitpointDetailTable({
112112
</Property.Item>
113113
</>
114114
)}
115+
<Property.Item>
116+
<Property.Label>Completed</Property.Label>
117+
<Property.Value>
118+
{waitpoint.completedAt ? <DateTimeAccurate date={waitpoint.completedAt} /> : "–"}
119+
</Property.Value>
120+
</Property.Item>
115121
{waitpoint.status === "WAITING" ? null : waitpoint.status === "TIMED_OUT" ? (
116122
<></>
117123
) : waitpoint.output ? (
118124
<PacketDisplay title="Output" data={waitpoint.output} dataType={waitpoint.outputType} />
119-
) : waitpoint.completedAfter ? (
120-
<Property.Item>
121-
<Property.Label>Completed at</Property.Label>
122-
<Property.Value>
123-
<DateTimeAccurate date={waitpoint.completedAfter} />
124-
</Property.Value>
125-
</Property.Item>
126-
) : (
125+
) : waitpoint.completedAfter ? null : (
127126
"Completed with no output"
128127
)}
129128
</Property.Table>

0 commit comments

Comments
 (0)