mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
feat(n8n Form Page Node): New node (#10390)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com> Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
This commit is contained in:
@@ -76,6 +76,7 @@ import type { Connection } from '@vue-flow/core';
|
||||
import type {
|
||||
IConnection,
|
||||
IConnections,
|
||||
IDataObject,
|
||||
INode,
|
||||
INodeConnections,
|
||||
INodeCredentials,
|
||||
@@ -1673,6 +1674,12 @@ export function useCanvasOperations({ router }: { router: ReturnType<typeof useR
|
||||
);
|
||||
if (isDuplicate) {
|
||||
node.webhookId = uuid();
|
||||
|
||||
if (node.parameters.path) {
|
||||
node.parameters.path = node.webhookId as string;
|
||||
} else if ((node.parameters.options as IDataObject).path) {
|
||||
(node.parameters.options as IDataObject).path = node.webhookId as string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user