fix: deals table column width fixed
This commit is contained in:
@ -35,16 +35,19 @@ const useDealsTableColumns = ({ onEditClick }: Props) => {
|
||||
accessor: "id",
|
||||
title: "Номер",
|
||||
sortable: true,
|
||||
width: "30%",
|
||||
},
|
||||
{
|
||||
accessor: "name",
|
||||
title: "Название",
|
||||
width: "40%",
|
||||
},
|
||||
{
|
||||
title: "Дата создания",
|
||||
accessor: "createdAt",
|
||||
render: deal => utcDateTimeToLocalString(deal.createdAt),
|
||||
sortable: true,
|
||||
width: "30%",
|
||||
},
|
||||
] as DataTableColumn<DealSchema>[],
|
||||
[onEditClick]
|
||||
|
||||
Reference in New Issue
Block a user