mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
fix(n8n Form Node): Open form page if form trigger has pin data (#11673)
This commit is contained in:
parent
94b5873248
commit
f0492bd3bb
|
@ -353,7 +353,10 @@ export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType<typeof u
|
||||||
|
|
||||||
let isFormShown =
|
let isFormShown =
|
||||||
!options.destinationNode &&
|
!options.destinationNode &&
|
||||||
workflowsStore.allNodes.some((node) => node.type === FORM_TRIGGER_NODE_TYPE);
|
workflowsStore.allNodes.some(
|
||||||
|
(node) =>
|
||||||
|
node.type === FORM_TRIGGER_NODE_TYPE && !workflowsStore?.pinnedWorkflowData?.[node.name],
|
||||||
|
);
|
||||||
|
|
||||||
const resolveWaitingNodesData = async (): Promise<void> => {
|
const resolveWaitingNodesData = async (): Promise<void> => {
|
||||||
return await new Promise<void>((resolve) => {
|
return await new Promise<void>((resolve) => {
|
||||||
|
|
Loading…
Reference in a new issue