bugfix: fix end time, when the job is in_progress in HistoryListPanel.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej
2021-04-18 17:41:51 +02:00
parent 091b78c569
commit 64d6dd596d

View File

@@ -174,7 +174,7 @@
</tr>
<tr>
<td>{{ $t('History.EndTime') }}</td>
<td class="text-right">{{ formatDate(detailsDialog.item.end_time) }}</td>
<td class="text-right">{{ 'end_time' in detailsDialog.item && detailsDialog.item.end_time > 0 ? formatDate(detailsDialog.item.end_time) : "--" }}</td>
</tr>
<tr v-if="'metadata' in detailsDialog.item && 'estimated_time' in detailsDialog.item.metadata">
<td>{{ $t('History.EstimatedTime') }}</td>