Do not throw error if app manifest is not yet loaded

This commit is contained in:
Johannes Zellner
2022-06-09 14:21:32 +02:00
parent c8b0ec64f0
commit 39a3d8d0cb

View File

@@ -164,6 +164,8 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
};
$scope.isProxyApp = function (app) {
if (!app || !app.manifest) return false;
return app.manifest.id === 'io.cloudron.builtin.appproxy';
};