Skip to content

Commit ce70cfc

Browse files
authored
Merge pull request #357 from smiclea/fix-task-highlight
Fix incorrect task highlight in executions page
2 parents 0122ce8 + 68f4093 commit ce70cfc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/molecules/TaskItem/TaskItem.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class TaskItem extends React.Component<Props> {
222222
let messageProgress = this.getMessageProgress(update.message)
223223

224224
return (
225-
<ProgressUpdate key={i} secondary={i > 0 || this.props.item.status !== 'RUNNING'}>
225+
<ProgressUpdate key={i} secondary={i < this.props.item.progress_updates.length - 1 || this.props.item.status !== 'RUNNING'}>
226226
<ProgressUpdateDate width={this.props.columnWidths[0]}>
227227
<span>{DateUtils.getLocalTime(update.created_at).format('YYYY-MM-DD HH:mm:ss')}</span>
228228
</ProgressUpdateDate>

0 commit comments

Comments
 (0)