From 64d6dd596d7e6744bfc451fbee62890af3c4cd12 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 18 Apr 2021 17:41:51 +0200 Subject: [PATCH] bugfix: fix end time, when the job is in_progress in HistoryListPanel.vue Signed-off-by: Stefan Dej --- src/components/panels/HistoryListPanel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/panels/HistoryListPanel.vue b/src/components/panels/HistoryListPanel.vue index baf9390a..878af699 100644 --- a/src/components/panels/HistoryListPanel.vue +++ b/src/components/panels/HistoryListPanel.vue @@ -174,7 +174,7 @@ {{ $t('History.EndTime') }} - {{ formatDate(detailsDialog.item.end_time) }} + {{ 'end_time' in detailsDialog.item && detailsDialog.item.end_time > 0 ? formatDate(detailsDialog.item.end_time) : "--" }} {{ $t('History.EstimatedTime') }}