mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Place duplicated WFs always to correct parent folders (#14713)
This commit is contained in:
@@ -17,7 +17,13 @@ import { useTelemetry } from '@/composables/useTelemetry';
|
||||
const props = defineProps<{
|
||||
modalName: string;
|
||||
isActive: boolean;
|
||||
data: { tags: string[]; id: string; name: string; externalEventBus?: EventBus };
|
||||
data: {
|
||||
tags: string[];
|
||||
id: string;
|
||||
name: string;
|
||||
externalEventBus?: EventBus;
|
||||
parentFolderId?: string;
|
||||
};
|
||||
}>();
|
||||
|
||||
const router = useRouter();
|
||||
@@ -72,7 +78,7 @@ const save = async (): Promise<void> => {
|
||||
return;
|
||||
}
|
||||
|
||||
const parentFolderId = router.currentRoute.value.params.folderId as string | undefined;
|
||||
const parentFolderId = props.data.parentFolderId;
|
||||
|
||||
const currentWorkflowId = props.data.id;
|
||||
isSaving.value = true;
|
||||
|
||||
Reference in New Issue
Block a user