state and not status

This commit is contained in:
Girish Ramakrishnan
2019-05-22 10:47:15 -07:00
parent 6ec7da9071
commit 28845d6f33

View File

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