Show debug view if app errors while having some other view open

This commit is contained in:
Johannes Zellner
2019-09-23 19:35:59 +02:00
parent b01799c606
commit f3440f3c01
+3
View File
@@ -911,6 +911,9 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
$scope.app = app;
// Immediately move to debug view on error
if (app.error && !($scope.view === 'debug' || $scope.view === 'uninstall')) $scope.setView('debug');
callback();
});
}