Enable phone field type (#5052)

### Description

 Enable phone field type

### Refs

https://github.com/twentyhq/twenty/issues/2700

### Demo


https://github.com/twentyhq/twenty/assets/140154534/e9810718-9916-4ad4-a080-4d718777de15

Fixes #2700

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
gitstart-app[bot]
2024-05-01 15:47:19 +02:00
committed by GitHub
parent 485670c823
commit 268c6b44d9
8 changed files with 14 additions and 9 deletions

View File

@ -17,6 +17,7 @@ export const formatFieldMetadataItemsAsSortDefinitions = ({
FieldMetadataType.Text,
FieldMetadataType.Boolean,
FieldMetadataType.Select,
FieldMetadataType.Phone,
].includes(field.type)
) {
return acc;