From 39a3d8d0cb9c745818913d8c09b410ec715cffc2 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 9 Jun 2022 14:21:32 +0200 Subject: [PATCH] Do not throw error if app manifest is not yet loaded --- src/views/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/app.js b/src/views/app.js index 97958f172..f3b9cae8b 100644 --- a/src/views/app.js +++ b/src/views/app.js @@ -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'; };