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

@@ -380,12 +380,11 @@ async function initializeWorkspaceForNewWorkflow() {
const parentFolderId = route.query.parentFolderId as string | undefined;
await workflowsStore.getNewWorkflowData(
await workflowsStore.getNewWorkflowDataAndMakeShareable(
undefined,
projectsStore.currentProjectId,
parentFolderId,
);
workflowsStore.makeNewWorkflowShareable();
if (projectsStore.currentProjectId) {
await fetchAndSetProject(projectsStore.currentProjectId);