Redirect back to app grid if app does not exist
This commit is contained in:
@@ -502,6 +502,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
|
||||
Client.onReady(function () {
|
||||
Client.getApp(appId, function (error, app) {
|
||||
if (error && error.statusCode === 404) return $location.path('/apps');
|
||||
if (error) return Client.error(error);
|
||||
|
||||
$scope.app = app;
|
||||
|
||||
Reference in New Issue
Block a user