Skip to content

Commit

Permalink
fix: Always clear popupWindowState before showing popup from form tri…
Browse files Browse the repository at this point in the history
…gger (#13363)
  • Loading branch information
michael-radency authored and tomi committed Feb 20, 2025
1 parent 172fbe5 commit f65b0f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/editor-ui/src/utils/executionUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ export function displayForm({
if (node.name === destinationNode || !node.disabled) {
let testUrl = '';
if (node.type === FORM_TRIGGER_NODE_TYPE) testUrl = getTestUrl(node);
if (testUrl && source !== 'RunData.ManualChatMessage') openFormPopupWindow(testUrl);
if (testUrl && source !== 'RunData.ManualChatMessage') {
clearPopupWindowState();
openFormPopupWindow(testUrl);
}
}
}
}
Expand Down

0 comments on commit f65b0f5

Please # to comment.