From 9259385adefd4661efc8bc6371cd76a1670fb708 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 25 Apr 2024 14:03:04 +0200 Subject: [PATCH] Fix clean --- .../client/src/components/app/forms/RelationshipField.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/app/forms/RelationshipField.svelte b/packages/client/src/components/app/forms/RelationshipField.svelte index a85b636851..9439fd2239 100644 --- a/packages/client/src/components/app/forms/RelationshipField.svelte +++ b/packages/client/src/components/app/forms/RelationshipField.svelte @@ -180,7 +180,7 @@ value && Array.isArray(value) ) { - value = value[0] + value = value[0] || null } const changed = fieldApi.setValue(value)