From a74eb7eff1f83d8973506da00b6bdf76ebe19ee2 Mon Sep 17 00:00:00 2001 From: Arpit Date: Wed, 11 Oct 2023 13:42:25 +0530 Subject: [PATCH] fixes: goToApp not running from runjs in viewer mode (#7770) --- frontend/src/_helpers/appUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/_helpers/appUtils.js b/frontend/src/_helpers/appUtils.js index b0fc20be54..3a4cdea147 100644 --- a/frontend/src/_helpers/appUtils.js +++ b/frontend/src/_helpers/appUtils.js @@ -476,7 +476,7 @@ function executeActionWithDebounce(_ref, event, mode, customVariables) { } if (mode === 'view') { - _ref.props.navigate(url); + _ref.navigate(url); } else { if (confirm('The app will be opened in a new tab as the action is triggered from the editor.')) { window.open(urlJoin(window.public_config?.TOOLJET_HOST, url));