fix(editor): Issue with context menu disabling most options when importing template (#15185)

This commit is contained in:
Ricardo Espinoza
2025-05-08 08:14:19 -04:00
committed by GitHub
parent d870c685b5
commit abb8225944
4 changed files with 14 additions and 4 deletions

View File

@@ -2003,7 +2003,7 @@ export function useCanvasOperations({ router }: { router: ReturnType<typeof useR
workflowsStore.setConnections(workflow.connections);
}
await addNodes(convertedNodes ?? []);
await workflowsStore.getNewWorkflowData(name, projectsStore.currentProjectId);
await workflowsStore.getNewWorkflowDataAndMakeShareable(name, projectsStore.currentProjectId);
workflowsStore.addToWorkflowMetadata({ templateId: `${id}` });
}