state and not status
This commit is contained in:
@@ -202,7 +202,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
|
||||
if (!error && !status.setup.active) {
|
||||
if (!status.adminFqdn || status.setup.errorMessage) { // setup reset or errored. start over
|
||||
$scope.error = status.setup.errorMessage;
|
||||
$scope.status = 'initialized';
|
||||
$scope.state = 'initialized';
|
||||
} else { // proceed to activation
|
||||
window.location.href = 'https://' + status.adminFqdn + '/setup.html';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user