mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-07-30 16:48:51 +02:00
feat(core): Allow transferring folder to project root with delete operation (no-changelog) (#14074)
This commit is contained in:
@@ -619,9 +619,12 @@ export class WorkflowRepository extends Repository<WorkflowEntity> {
|
||||
WorkflowEntity,
|
||||
{ parentFolder: { id: fromFolderId } },
|
||||
{
|
||||
parentFolder: {
|
||||
id: toFolderId,
|
||||
},
|
||||
parentFolder:
|
||||
toFolderId === PROJECT_ROOT
|
||||
? null
|
||||
: {
|
||||
id: toFolderId,
|
||||
},
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user