From 2edf3392a10ff3f685f8dfa75b7a9d1c940a3ade Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 25 Apr 2024 14:31:56 +0200 Subject: [PATCH] Fix design --- .../design/settings/controls/FieldConfiguration/utils.js | 1 + .../[componentId]/new/_components/componentStructure.json | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/builder/src/components/design/settings/controls/FieldConfiguration/utils.js b/packages/builder/src/components/design/settings/controls/FieldConfiguration/utils.js index d0f9afda40..d41967061c 100644 --- a/packages/builder/src/components/design/settings/controls/FieldConfiguration/utils.js +++ b/packages/builder/src/components/design/settings/controls/FieldConfiguration/utils.js @@ -47,4 +47,5 @@ export const FieldTypeToComponentMap = { [FieldType.JSON]: "jsonfield", [FieldType.BARCODEQR]: "codescanner", [FieldType.BB_REFERENCE]: "bbreferencefield", + [FieldType.BB_REFERENCE_SINGLE]: "bbreferencesinglefield", } diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/[componentId]/new/_components/componentStructure.json b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/[componentId]/new/_components/componentStructure.json index 03e22acd4d..0f85d2e3e3 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/[componentId]/new/_components/componentStructure.json +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/[componentId]/new/_components/componentStructure.json @@ -71,6 +71,7 @@ "multifieldselect", "s3upload", "codescanner", + "bbreferencesinglefield", "bbreferencefield" ] },