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
This commit is contained in:
Charles Bochet
2023-10-29 16:29:00 +01:00
committed by GitHub
parent 685d342170
commit 9bab28912d
118 changed files with 1806 additions and 1413 deletions

View File

@ -0,0 +1,36 @@
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,
},
];