From f7e92992a8c5d12a33fa057b34578258feda2c8c Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 3 Oct 2023 13:12:50 +0200 Subject: [PATCH] Fix error --- .../design/settings/controls/FilterEditor/FilterUsers.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/design/settings/controls/FilterEditor/FilterUsers.svelte b/packages/builder/src/components/design/settings/controls/FilterEditor/FilterUsers.svelte index ef3046eaf3..2d363add41 100644 --- a/packages/builder/src/components/design/settings/controls/FilterEditor/FilterUsers.svelte +++ b/packages/builder/src/components/design/settings/controls/FilterEditor/FilterUsers.svelte @@ -27,10 +27,12 @@ value = Array.isArray(val) ? val : [val] } } + + $: selectedValue = multiple || !value ? value : value[0]