Remove debug code and fixup ISTATE usage
This commit is contained in:
+1
-1
@@ -673,7 +673,7 @@
|
||||
<br/>
|
||||
Installed <span class="app-info-meta text-small">{{ app.creationTime | prettyDate }}</a> </span>
|
||||
<br/>
|
||||
<span ng-show="app.error" class="text-danger"><br/>Error <b ng-show="app.error.message">{{ app.error.message }}</b><br/></span>
|
||||
<span ng-show="app.error" class="text-danger"><br/>Error: <b>{{ app.error.message }}</b><br/></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+1
-3
@@ -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