mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: Always clear popupWindowState before showing popup from form trigger (#13363)
This commit is contained in:
@@ -130,7 +130,10 @@ export function displayForm({
|
|||||||
if (node.name === destinationNode || !node.disabled) {
|
if (node.name === destinationNode || !node.disabled) {
|
||||||
let testUrl = '';
|
let testUrl = '';
|
||||||
if (node.type === FORM_TRIGGER_NODE_TYPE) testUrl = getTestUrl(node);
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user