If app is not found while app view is visible, go back
This commit is contained in:
@@ -959,6 +959,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
callback = callback || function () {};
|
||||
|
||||
Client.getApp($scope.app.id, function (error, app) {
|
||||
if (error && error.statusCode === 404) return $location.path('/apps');
|
||||
if (error) return callback(error);
|
||||
|
||||
// Immediately move to debug view on error
|
||||
|
||||
Reference in New Issue
Block a user