fix: revert document content field rename (#6955)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2024-10-16 22:52:46 +07:00
committed by GitHub
parent d1bf10b1d9
commit dea31012b5
10 changed files with 136 additions and 53 deletions
@@ -56,12 +56,12 @@
</script>
<CollaboratorEditor
collaborativeDoc={object.description}
collaborativeDoc={object.content}
objectClass={object._class}
objectId={object._id}
objectSpace={object.space}
objectAttr="description"
field="description"
objectAttr="content"
field="content"
{user}
{userComponent}
{focusIndex}
+1 -1
View File
@@ -79,7 +79,7 @@ export async function createEmptyDocument (
const object: Data<Document> = {
title,
description: makeCollaborativeDoc(id, 'description'),
content: makeCollaborativeDoc(id, 'content'),
attachments: 0,
embeddings: 0,
labels: 0,