From 3d6dfa8aa73eaea4d9bd2e8e5702c9f60fd78adc Mon Sep 17 00:00:00 2001 From: Venryx Date: Thu, 16 May 2024 09:02:28 -0700 Subject: [PATCH] * --- .../Utils/DataFormats/JSON/ClaimGen/ImportHelpers.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Packages/client/Source/Utils/DataFormats/JSON/ClaimGen/ImportHelpers.ts b/Packages/client/Source/Utils/DataFormats/JSON/ClaimGen/ImportHelpers.ts index 24e42a3e..18be0ec4 100644 --- a/Packages/client/Source/Utils/DataFormats/JSON/ClaimGen/ImportHelpers.ts +++ b/Packages/client/Source/Utils/DataFormats/JSON/ClaimGen/ImportHelpers.ts @@ -109,16 +109,12 @@ export const NewNodeResource = CreateAccessor((context: ImportContext, data: CG_ displayDetails: undefined, attachments: CG_Node.GetAttachments(data), node: node.id, - phrasing: CullNodePhrasingToBeEmbedded(new NodePhrasing({ - id: GenerateUUID(), - type: NodePhrasingType.standard, - createdAt: Date.now(), - creator: systemUserID, - node: node.id, + phrasing: { ...(narrativeTitle != null ? {text_base: mainTitle, text_narrative: narrativeTitle} : {text_base: mainTitle}), - })), + terms: [], + }, }); return new IR_NodeAndRevision({ pathInData: path_indexes,