From bddb6d40a35c1f8f55a8ef6ed100a6ce1f862d07 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 31 Oct 2024 11:09:48 +0100 Subject: [PATCH] Fix wrongly removing valueType=binding --- packages/frontend-core/src/components/CoreFilterBuilder.svelte | 1 - packages/frontend-core/src/components/FilterField.svelte | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/frontend-core/src/components/CoreFilterBuilder.svelte b/packages/frontend-core/src/components/CoreFilterBuilder.svelte index 7b9dacbc2ae..3aff9810828 100644 --- a/packages/frontend-core/src/components/CoreFilterBuilder.svelte +++ b/packages/frontend-core/src/components/CoreFilterBuilder.svelte @@ -390,7 +390,6 @@ ...filter, field: e.detail.field, } - delete updated.valueType onFilterFieldUpdate(updated, groupIdx, filterIdx) }} /> diff --git a/packages/frontend-core/src/components/FilterField.svelte b/packages/frontend-core/src/components/FilterField.svelte index bf1483c341b..861df9c2fce 100644 --- a/packages/frontend-core/src/components/FilterField.svelte +++ b/packages/frontend-core/src/components/FilterField.svelte @@ -29,7 +29,6 @@ const { OperatorOptions, FilterValueType } = Constants let bindingDrawer - let fieldValue $: fieldValue = filter?.value $: readableValue = toReadable ? toReadable(bindings, fieldValue) : fieldValue