Skip to content

Commit

Permalink
fixes query params are passed as slug to the app url for go-to-app ac…
Browse files Browse the repository at this point in the history
…tion (ToolJet#4118)
  • Loading branch information
arpitnath authored Sep 26, 2022
1 parent 962e4d3 commit 3ca7de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/_helpers/appUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3ca7de1

Please sign in to comment.