fix: ensure removing collection level headers persists

This commit is contained in:
jamesgeorge007
2024-02-16 10:59:52 +05:30
parent 00285df348
commit 0d00826019

View File

@@ -227,7 +227,7 @@ export class PersonalWorkspaceProviderService
collectionID.split("/").map((id) => parseInt(id))
)
const newCollection = merge(collection, updatedCollection)
const newCollection = { ...collection, ...updatedCollection }
const isRootCollection = collectionID.split("/").length === 1