Show progress message in setup and restore

This commit is contained in:
Girish Ramakrishnan
2018-12-15 16:08:44 -08:00
parent 236f66f56f
commit 7c972758af
5 changed files with 8 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
if (!status.activated) {
console.log('Not activated yet, redirecting', status);
if (status.restore.active || status.restore.errorMessage) {
if (status.restore.active || status.restore.errorMessage) { // show the error message in restore page
window.location.href = '/restore.html';
} else {
window.location.href = status.adminFqdn ? '/setup.html' : '/setupdns.html';