From 82a57d34b8636254a494e3efdb43faedb21032eb Mon Sep 17 00:00:00 2001 From: Benedict Aas Date: Mon, 23 Apr 2018 18:33:31 +0100 Subject: [PATCH] fix(GUI): remove success screen dots with a quantity of zero (#2227) We remove success screen dots that are zero, which mainly means that the error dot disappears as it shouldn't currently be possible to end up with zero successful devices on that screen. Change-Type: patch --- lib/gui/app/pages/finish/templates/success.tpl.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/gui/app/pages/finish/templates/success.tpl.html b/lib/gui/app/pages/finish/templates/success.tpl.html index 87eba293..411f4fef 100644 --- a/lib/gui/app/pages/finish/templates/success.tpl.html +++ b/lib/gui/app/pages/finish/templates/success.tpl.html @@ -6,7 +6,8 @@

Flash Complete!

+ ng-repeat="(type, quantity) in finish.flash.getFlashResults().results.devices" + ng-if="quantity"> {{ quantity }} {{ finish.progressMessage[type](quantity) }}