Skip to content

Commit

Permalink
fix(ui): avoid empty startedAt to crash console
Browse files Browse the repository at this point in the history
Signed-off-by: Babis Kiosidis <ckiosidis@gmail.com>
  • Loading branch information
ckiosidis committed Sep 29, 2021
1 parent c55d508 commit 1dcd778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Entities/EntityExecutionsBarChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const getExecutionTimeData = (exectuions: Execution[], fillSize = 100) => {
<span>Running time: {millisecondsToHMS(duration)}</span>
<span>
Started at:{' '}
{formatDateUTC(
{execution.closure.startedAt != null && formatDateUTC(
timestampToDate(execution.closure.startedAt!)
)}
</span>
Expand Down

0 comments on commit 1dcd778

Please sign in to comment.