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 <jviotti@openmailbox.org>
This commit is contained in:
Juan Cruz Viotti 2017-04-10 16:57:20 -04:00 committed by GitHub
parent 91a1c3d107
commit f87a690df1

View File

@ -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;
}