From e51e4e5f6c3f28a86c3c4186d6dc0961a33ebbde Mon Sep 17 00:00:00 2001 From: Haokun-Chen Date: Fri, 22 Jun 2018 13:09:04 -0400 Subject: [PATCH] fix job result stats section when running/finish jobs --- .../client/features/output/stats.partial.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/awx/ui/client/features/output/stats.partial.html b/awx/ui/client/features/output/stats.partial.html index c43992eed8..c04df0d8d0 100644 --- a/awx/ui/client/features/output/stats.partial.html +++ b/awx/ui/client/features/output/stats.partial.html @@ -1,21 +1,21 @@
plays - ... - {{ vm.plays }} + ... + {{ vm.plays || 0 }} tasks - ... - {{ vm.tasks }} + ... + {{ vm.tasks || 0 }} {{:: vm.strings.get('stats.HOSTS')}} - ... - {{ vm.hosts }} + ... + {{ vm.hosts || 0 }} {{:: vm.strings.get('stats.ELAPSED') }} - ... - - {{ vm.elapsed * 1000 | duration: "hh:mm:ss" }} + ... + + {{ (vm.elapsed * 1000 || 0) | duration: "hh:mm:ss"}}