fix(Datatable): actions cell align center.

This commit is contained in:
a.bouhuolia
2022-03-21 13:27:59 +02:00
parent 2f36594459
commit a533c3cb76
4 changed files with 15 additions and 17 deletions

View File

@@ -67,11 +67,6 @@ export function TotalCell({ payload: { currencyCode }, value }) {
return <span>{formattedAmount(value, currencyCode, { noZero: true })}</span>;
}
// Index table cell.
export function IndexTableCell({ row: { index } }) {
return <span>{index + 1}</span>;
}
/**
* Landed cost header cell.
*/
@@ -161,6 +156,7 @@ export function useEditableItemsEntriesColumns({ landedCost }) {
disableSortBy: true,
disableResizing: true,
width: 45,
align: Align.Center,
},
],
[],