From cee253bc25b04ea3857755548b8d4a68516913b1 Mon Sep 17 00:00:00 2001 From: Arpit Date: Mon, 9 Jan 2023 17:56:04 +0530 Subject: [PATCH] fixes: app crash from code hinter (#5265) --- frontend/src/_helpers/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/_helpers/utils.js b/frontend/src/_helpers/utils.js index 06c2f1f4df..08d9caa14c 100644 --- a/frontend/src/_helpers/utils.js +++ b/frontend/src/_helpers/utils.js @@ -91,6 +91,7 @@ function resolveCode(code, state, customObjects = {}, withError = false, reserve } export function resolveReferences(object, state, defaultValue, customObjects = {}, withError = false) { + if (object === '{{{}}}') return ''; const reservedKeyword = ['app']; //Keywords that slows down the app object = _.clone(object); const objectType = typeof object;