Skip to content

Commit

Permalink
Merge pull request #814 from joecampo/monitoring-patch-1
Browse files Browse the repository at this point in the history
[4.x] Fix for job rows on monitoring tags screen
  • Loading branch information
themsaid authored Mar 31, 2020
2 parents aae114f + 0b18073 commit e2bb711
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/js/screens/monitoring/job-row.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
{{ readableTimestamp(job.payload.pushedAt) }}
</td>

<td v-if="$route.params.type=='completed'" class="table-fit">
{{ readableTimestamp(job.completed_at) }}
<td v-if="$parent.type == 'jobs'" class="table-fit">
{{ job.completed_at ? readableTimestamp(job.completed_at) : '-' }}
</td>

<td v-if="$route.params.type=='completed'" class="table-fit">
<td v-if="$parent.type == 'jobs'" class="table-fit">
<span>{{ job.completed_at ? (job.completed_at - job.reserved_at).toFixed(2)+'s' : '-' }}</span>
</td>
</tr>
Expand Down

0 comments on commit e2bb711

Please sign in to comment.