From 9adae8a9fd6a3165065719e86f9b6cfbf71b9eb0 Mon Sep 17 00:00:00 2001 From: Dean Date: Wed, 26 Jun 2024 11:12:25 +0100 Subject: [PATCH] If a relationship value is set to null, the row processor will set it to an empty to array an ensure its properly cleared. Previously the empty value would be an empty string, which was then set to an empty array in the rowProcessor --- packages/server/src/utilities/rowProcessor/map.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/utilities/rowProcessor/map.ts b/packages/server/src/utilities/rowProcessor/map.ts index 2e0ac9efe1..6055bfb292 100644 --- a/packages/server/src/utilities/rowProcessor/map.ts +++ b/packages/server/src/utilities/rowProcessor/map.ts @@ -21,6 +21,7 @@ const parseArrayString = (value: any) => { */ export const TYPE_TRANSFORM_MAP: any = { [FieldType.LINK]: { + null: [], "": [], //@ts-ignore [null]: [],