diff --git a/lerna.json b/lerna.json index f72b908897..cba15492eb 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.26.3", + "version": "2.26.4", "npmClient": "yarn", "packages": [ "packages/*", diff --git a/packages/builder/src/components/backend/DataTable/RowFieldControl.svelte b/packages/builder/src/components/backend/DataTable/RowFieldControl.svelte index 1ec32cb3fd..4ff8ae994b 100644 --- a/packages/builder/src/components/backend/DataTable/RowFieldControl.svelte +++ b/packages/builder/src/components/backend/DataTable/RowFieldControl.svelte @@ -14,9 +14,8 @@ import LinkedRowSelector from "components/common/LinkedRowSelector.svelte" import Editor from "../../integration/QueryEditor.svelte" - export let defaultValue export let meta - export let value = defaultValue || (meta.type === "boolean" ? false : "") + export let value export let readonly export let error diff --git a/packages/server/src/utilities/rowProcessor/index.ts b/packages/server/src/utilities/rowProcessor/index.ts index 59237be5f3..7bbf57964e 100644 --- a/packages/server/src/utilities/rowProcessor/index.ts +++ b/packages/server/src/utilities/rowProcessor/index.ts @@ -242,7 +242,7 @@ export async function outputProcessing( } return attachment } - if (typeof row[property] === "string") { + if (typeof row[property] === "string" && row[property].length) { row[property] = JSON.parse(row[property]) } if (Array.isArray(row[property])) {