Skip to content

Commit

Permalink
Add Finished At to Job Status (parse-community#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
dplewis authored Nov 10, 2020
1 parent 75c23be commit ef7c275
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/dashboard/Data/Jobs/Jobs.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ class Jobs extends TableView {
<tr key={data.objectId}>
<td style={{width: '20%'}}>{data.jobName}</td>
<td style={{width: '20%'}}>{DateUtils.dateStringUTC(new Date(data.createdAt))}</td>
<td style={{width: '40%'}}>
<td style={{width: '20%'}}>{data.finishedAt ? DateUtils.dateStringUTC(new Date(data.finishedAt.iso)) : ''}</td>
<td style={{width: '20%'}}>
<div style={{ fontSize: 12, whiteSpace: 'normal', lineHeight: '16px' }}>
{data.message}
</div>
Expand Down Expand Up @@ -176,7 +177,8 @@ class Jobs extends TableView {
return [
<TableHeader key='func' width={20}>Function</TableHeader>,
<TableHeader key='started' width={20}>Started At (UTC)</TableHeader>,
<TableHeader key='message' width={40}>Message</TableHeader>,
<TableHeader key='finished' width={20}>Finished At (UTC)</TableHeader>,
<TableHeader key='message' width={20}>Message</TableHeader>,
<TableHeader key='status' width={20}>Status</TableHeader>,
];
}
Expand Down

0 comments on commit ef7c275

Please sign in to comment.