fix: preserve hierarchy during personal collection imports (#4815)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
parent
212cd4969d
commit
622b753c55
4 changed files with 4 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ const recursivelySyncCollections = async (
|
|||
collection.id = childCollectionId
|
||||
collection.auth = returnedData.auth
|
||||
collection.headers = returnedData.headers
|
||||
parentCollectionID = childCollectionId
|
||||
|
||||
removeDuplicateGraphqlCollectionOrFolder(
|
||||
childCollectionId,
|
||||
|
|
|
|||
|
|
@ -120,6 +120,7 @@ const recursivelySyncCollections = async (
|
|||
collection._ref_id = returnedData._ref_id ?? generateUniqueRefId("coll")
|
||||
collection.auth = returnedData.auth
|
||||
collection.headers = returnedData.headers
|
||||
parentCollectionID = childCollectionId
|
||||
|
||||
removeDuplicateRESTCollectionOrFolder(
|
||||
childCollectionId,
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ const recursivelySyncCollections = async (
|
|||
collection.id = childCollectionId
|
||||
collection.auth = returnedData.auth
|
||||
collection.headers = returnedData.headers
|
||||
parentCollectionID = childCollectionId
|
||||
|
||||
removeDuplicateGraphqlCollectionOrFolder(
|
||||
childCollectionId,
|
||||
|
|
|
|||
|
|
@ -120,6 +120,7 @@ const recursivelySyncCollections = async (
|
|||
collection._ref_id = returnedData._ref_id ?? generateUniqueRefId("coll")
|
||||
collection.auth = returnedData.auth
|
||||
collection.headers = returnedData.headers
|
||||
parentCollectionID = childCollectionId
|
||||
|
||||
removeDuplicateRESTCollectionOrFolder(
|
||||
childCollectionId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue