mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(editor): Include NodeDetailsView in URL (#14349)
This commit is contained in:
@@ -96,7 +96,12 @@ export function getFieldEntries(context: IWorkflowNodeContext): {
|
||||
if (Array.isArray(result)) {
|
||||
const dataMode = String(inputSource);
|
||||
const workflow = context.getWorkflow();
|
||||
return { fields: result, dataMode, subworkflowInfo: { id: workflow.id } };
|
||||
const node = context.getNode();
|
||||
return {
|
||||
fields: result,
|
||||
dataMode,
|
||||
subworkflowInfo: { workflowId: workflow.id, triggerId: node.id },
|
||||
};
|
||||
}
|
||||
throw new NodeOperationError(context.getNode(), result);
|
||||
}
|
||||
@@ -153,7 +158,7 @@ export async function loadWorkflowInputMappings(
|
||||
const nodeLoadContext = await this.getWorkflowNodeContext(EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE);
|
||||
let fields: ResourceMapperField[] = [];
|
||||
let dataMode: string = PASSTHROUGH;
|
||||
let subworkflowInfo: { id?: string } | undefined;
|
||||
let subworkflowInfo: { workflowId?: string; triggerId?: string } | undefined;
|
||||
|
||||
if (nodeLoadContext) {
|
||||
const fieldValues = getFieldEntries(nodeLoadContext);
|
||||
|
||||
Reference in New Issue
Block a user