remove direction from messages (#20026)
This was a leftover column removed in https://github.com/twentyhq/twenty/pull/6743 but was accidentally added again when we migrated to `buildMessageStandardFlatFieldMetadatas` from workspace decorator /closes #20011
This commit is contained in:
+956
-959
File diff suppressed because it is too large
Load Diff
-34
@@ -212,40 +212,6 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
twentyStandardApplicationId,
|
||||
now,
|
||||
}),
|
||||
direction: createStandardFieldFlatMetadata({
|
||||
objectName,
|
||||
workspaceId,
|
||||
context: {
|
||||
fieldName: 'direction',
|
||||
type: FieldMetadataType.SELECT,
|
||||
label: i18nLabel(msg`Direction`),
|
||||
description: i18nLabel(msg`Message Direction`),
|
||||
icon: 'IconDirection',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
defaultValue: "'INCOMING'",
|
||||
options: [
|
||||
{
|
||||
id: '20202020-7b52-47d2-abd8-e96a4295f9a6',
|
||||
value: 'INCOMING',
|
||||
label: i18nLabel(msg`Incoming`),
|
||||
position: 0,
|
||||
color: 'green',
|
||||
},
|
||||
{
|
||||
id: '20202020-11cb-42be-8df7-709ad53f90f9',
|
||||
value: 'OUTGOING',
|
||||
label: i18nLabel(msg`Outgoing`),
|
||||
position: 1,
|
||||
color: 'blue',
|
||||
},
|
||||
],
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
twentyStandardApplicationId,
|
||||
now,
|
||||
}),
|
||||
subject: createStandardFieldFlatMetadata({
|
||||
objectName,
|
||||
workspaceId,
|
||||
|
||||
Reference in New Issue
Block a user