diff --git a/src/views/app.html b/src/views/app.html index df68b6eed..366735d11 100644 --- a/src/views/app.html +++ b/src/views/app.html @@ -323,7 +323,7 @@
Email
Updates
Backups
-
Console
+
Console
Repair
Uninstall
@@ -733,7 +733,7 @@

This will open a console connection to the app. The terminal is sandboxed and only provides access to this app container's filesystem.

- Terminal + Terminal Logs
diff --git a/src/views/app.js b/src/views/app.js index 011921f94..d3d8b08a1 100644 --- a/src/views/app.js +++ b/src/views/app.js @@ -40,7 +40,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location' if ($scope.view === view) return; // on error only allow uninstall or repair view - if ($scope.app.error && view !== 'uninstall') view = 'repair'; + if ($scope.app.error && !(view === 'uninstall' || view === 'console')) view = 'repair'; $route.updateParams({ view: view }); $scope[view].show(); @@ -1089,7 +1089,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location' function switchView() { // Immediately move to debug view on error - if ($scope.app.error && !($scope.view === 'repair' || $scope.view === 'uninstall')) $scope.setView('repair'); + if ($scope.app.error && !($scope.view === 'repair' || $scope.view === 'uninstall' || $scope.view === 'console')) $scope.setView('repair'); if (!$scope.view) $scope.setView($routeParams.view || 'display'); // first time }