From e946f388c00c4c1ddfbd29495236727dd85d7415 Mon Sep 17 00:00:00 2001 From: Alexis Svinartchouk Date: Mon, 10 Dec 2018 17:28:11 +0100 Subject: [PATCH] ProgressBar.disabled prop is a boolean Change-type: patch --- lib/gui/app/pages/main/templates/main.tpl.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gui/app/pages/main/templates/main.tpl.html b/lib/gui/app/pages/main/templates/main.tpl.html index f1e386ae..684f8a60 100644 --- a/lib/gui/app/pages/main/templates/main.tpl.html +++ b/lib/gui/app/pages/main/templates/main.tpl.html @@ -123,7 +123,7 @@ active = "main.state.isFlashing()" percentage="main.state.getFlashState().percentage" label="flash.getProgressButtonLabel()" - disabled="main.state.getLastFlashErrorCode() || main.shouldFlashStepBeDisabled()" + disabled="!!main.state.getLastFlashErrorCode() || main.shouldFlashStepBeDisabled()" callback="flash.flashImageToDrive" >