Remove debug code and fixup ISTATE usage
This commit is contained in:
@@ -770,8 +770,6 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
|
||||
var app = $scope.app;
|
||||
|
||||
console.log(app)
|
||||
|
||||
// old versions may not have this set
|
||||
if (!app.error.task) {
|
||||
$('#repairModal').modal('show');
|
||||
@@ -786,7 +784,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
} else if (app.error.task.installationState === ISTATES.PENDING_RESIZE) {
|
||||
// memory
|
||||
$('#repairModal').modal('show');
|
||||
} else if (app.error.task.installationState === ISTATES.ISTATE_PENDING_RECREATE_CONTAINER) {
|
||||
} else if (app.error.task.installationState === ISTATES.PENDING_RECREATE_CONTAINER) {
|
||||
// email, mailbox
|
||||
$('#repairModal').modal('show');
|
||||
} else if (app.error.task.installationState === ISTATES.PENDING_LOCATION_CHANGE || app.error.task.installationState === ISTATES.PENDING_INSTALL) {
|
||||
|
||||
Reference in New Issue
Block a user