From f87a690df112597a90a024904a56ba5982180125 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 10 Apr 2017 16:57:20 -0400 Subject: [PATCH] fix(GUI): correctly reference the `eta` property in `lib/gui/app.js` (#1273) See: https://github.com/resin-io/etcher/pull/1264/files#r110662965 Signed-off-by: Juan Cruz Viotti --- lib/gui/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gui/app.js b/lib/gui/app.js index 8d42c416..7ae49c6d 100644 --- a/lib/gui/app.js +++ b/lib/gui/app.js @@ -140,7 +140,7 @@ app.run((AnalyticsService, OSWindowProgressService) => { // // We use the presence of `.eta` to determine that the actual // writing started. - if (!flashState.isFlashing() || !flashState.eta) { + if (!flashState.isFlashing() || !currentFlashState.eta) { return; }