From 3ca7de1c400cd4d2d9c7722c7969242c2ee08a21 Mon Sep 17 00:00:00 2001 From: Arpit Date: Mon, 26 Sep 2022 18:57:45 +0530 Subject: [PATCH] fixes query params are passed as slug to the app url for go-to-app action (#4118) --- 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 f698247f29..0ef9d6f790 100644 --- a/frontend/src/_helpers/appUtils.js +++ b/frontend/src/_helpers/appUtils.js @@ -250,7 +250,7 @@ export const executeAction = (_ref, event, mode, customVariables) => { _ref.props.history.go(); } 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, `applications/${slug}`)); + window.open(urlJoin(window.public_config?.TOOLJET_HOST, url)); } } return Promise.resolve();