From 321aebf199dc7d54bfcdf9ed462fe0bc49f1bd64 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 23 Oct 2020 11:11:42 +0200 Subject: [PATCH] Fix type error not finding app object --- api/js/framework/fw_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/framework/fw_base.js b/api/js/framework/fw_base.js index 2cd003c788..14566108b0 100644 --- a/api/js/framework/fw_base.js +++ b/api/js/framework/fw_base.js @@ -1269,6 +1269,6 @@ var fw_base = (function(){ "use strict"; return Class.extend( */ isAnInternalApp: function(_app) { - return _app.appName != _app.internalName; + return _app && _app.appName != _app.internalName; } });}).call(this);