mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix: Always clear popupWindowState before showing popup from form trigger (#13363)
This commit is contained in:
parent
755734d349
commit
b7f12650f1
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue