Ability to filter by composite's subfields (#6832)

# This PR

- Fix #6425 

See https://github.com/twentyhq/twenty/issues/7188 because there's some
more work to do.

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Pacifique LINJANJA
2024-10-08 11:25:42 +02:00
committed by GitHub
parent af4f3cebb0
commit 4156d7821c
57 changed files with 1424 additions and 972 deletions

View File

@ -16,9 +16,11 @@ export const getCurrencyFieldPreviewValue = ({
}): FieldCurrencyValue | null => {
if (fieldMetadataItem.type !== FieldMetadataType.Currency) return null;
const placeholderDefaultValue = getSettingsFieldTypeConfig(
const currencyFieldTypeConfig = getSettingsFieldTypeConfig(
FieldMetadataType.Currency,
).exampleValue;
);
const placeholderDefaultValue = currencyFieldTypeConfig.exampleValue;
return currencyFieldDefaultValueSchema
.transform((value) => ({