diff --git a/web/public/js/app.js b/web/public/js/app.js index c809f3d..807d0e9 100644 --- a/web/public/js/app.js +++ b/web/public/js/app.js @@ -677,7 +677,15 @@ } btnBuildBack.addEventListener('click', () => { - goToPatches(); + if (isRestore) { + // Restore was triggered directly from the device step + isRestore = false; + setNavLabels(NAV_DEFAULT); + setNavStep(1); + showStep(stepDevice); + } else { + goToPatches(); + } }); const buildProgress = $('build-progress');