mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-27 11:03:40 +03:00
fix: just change the order to match design (#1410)
* fix: just change the order to match design * fix: view field definition change
This commit is contained in:
parent
4889a69751
commit
6cf46cfdf5
@ -60,15 +60,6 @@ export const companyShowFieldDefinition: FieldDefinition<FieldMetadata>[] = [
|
||||
placeHolder: 'Address',
|
||||
},
|
||||
} satisfies FieldDefinition<FieldTextMetadata>,
|
||||
{
|
||||
key: 'createdAt',
|
||||
name: 'Created at',
|
||||
icon: <IconCalendar />,
|
||||
type: 'date',
|
||||
metadata: {
|
||||
fieldName: 'createdAt',
|
||||
},
|
||||
} satisfies FieldDefinition<FieldDateMetadata>,
|
||||
{
|
||||
key: 'idealCustomerProfile',
|
||||
name: 'ICP',
|
||||
@ -88,4 +79,13 @@ export const companyShowFieldDefinition: FieldDefinition<FieldMetadata>[] = [
|
||||
placeHolder: 'X',
|
||||
},
|
||||
} satisfies FieldDefinition<FieldURLMetadata>,
|
||||
{
|
||||
key: 'createdAt',
|
||||
name: 'Created at',
|
||||
icon: <IconCalendar />,
|
||||
type: 'date',
|
||||
metadata: {
|
||||
fieldName: 'createdAt',
|
||||
},
|
||||
} satisfies FieldDefinition<FieldDateMetadata>,
|
||||
];
|
||||
|
@ -52,14 +52,15 @@ export const personShowFieldDefinition: FieldDefinition<FieldMetadata>[] = [
|
||||
},
|
||||
} satisfies FieldDefinition<FieldPhoneMetadata>,
|
||||
{
|
||||
key: 'createdAt',
|
||||
name: 'Created at',
|
||||
icon: <IconCalendar />,
|
||||
type: 'date',
|
||||
key: 'jobTitle',
|
||||
name: 'Job Title',
|
||||
icon: <IconBriefcase />,
|
||||
type: 'text',
|
||||
metadata: {
|
||||
fieldName: 'createdAt',
|
||||
fieldName: 'jobTitle',
|
||||
placeHolder: 'Job Title',
|
||||
},
|
||||
} satisfies FieldDefinition<FieldDateMetadata>,
|
||||
} satisfies FieldDefinition<FieldTextMetadata>,
|
||||
{
|
||||
key: 'city',
|
||||
name: 'City',
|
||||
@ -70,16 +71,6 @@ export const personShowFieldDefinition: FieldDefinition<FieldMetadata>[] = [
|
||||
placeHolder: 'City',
|
||||
},
|
||||
} satisfies FieldDefinition<FieldTextMetadata>,
|
||||
{
|
||||
key: 'jobTitle',
|
||||
name: 'Job Title',
|
||||
icon: <IconBriefcase />,
|
||||
type: 'text',
|
||||
metadata: {
|
||||
fieldName: 'jobTitle',
|
||||
placeHolder: 'Job Title',
|
||||
},
|
||||
} satisfies FieldDefinition<FieldTextMetadata>,
|
||||
{
|
||||
key: 'linkedinUrl',
|
||||
name: 'Linkedin URL',
|
||||
@ -100,4 +91,13 @@ export const personShowFieldDefinition: FieldDefinition<FieldMetadata>[] = [
|
||||
placeHolder: 'X URL',
|
||||
},
|
||||
} satisfies FieldDefinition<FieldURLMetadata>,
|
||||
{
|
||||
key: 'createdAt',
|
||||
name: 'Created at',
|
||||
icon: <IconCalendar />,
|
||||
type: 'date',
|
||||
metadata: {
|
||||
fieldName: 'createdAt',
|
||||
},
|
||||
} satisfies FieldDefinition<FieldDateMetadata>,
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user