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

@@ -3002,7 +3002,7 @@ describe('useCanvasOperations', () => {
disabled: false,
});
expect(workflowsStore.setNodePristine).toHaveBeenCalledWith(nodeB.name, true);
expect(workflowsStore.getNewWorkflowData).toHaveBeenCalledWith(
expect(workflowsStore.getNewWorkflowDataAndMakeShareable).toHaveBeenCalledWith(
templateName,
projectsStore.currentProjectId,
);