Show progress message in setup and restore
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user