Files
twenty/front/src/pages/companies/constants/companyTableSortDefinitions.tsx
Charles Bochet 9bab28912d Complete Fix view work (#2272)
* Fix views

* Make view sorts and view filters functional

* Complete Company table view fix

* Fix model creation

* Start fixing board

* Complete work
2023-10-29 16:29:00 +01:00

37 lines
661 B
TypeScript

import { SortDefinition } from '@/ui/data/sort/types/SortDefinition';
import {
IconBuildingSkyscraper,
IconCalendarEvent,
IconLink,
IconMap,
IconUsers,
} from '@/ui/display/icon/index';
export const companyTableSortDefinitions: SortDefinition[] = [
{
fieldId: 'name',
label: 'Name',
Icon: IconBuildingSkyscraper,
},
{
fieldId: 'employees',
label: 'Employees',
Icon: IconUsers,
},
{
fieldId: 'domainName',
label: 'Url',
Icon: IconLink,
},
{
fieldId: 'address',
label: 'Address',
Icon: IconMap,
},
{
fieldId: 'createdAt',
label: 'Creation',
Icon: IconCalendarEvent,
},
];