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:
committed by
GitHub
parent
af4f3cebb0
commit
4156d7821c
@ -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) => ({
|
||||
|
||||
Reference in New Issue
Block a user