diff --git a/src/frontend/src/tables/purchasing/SupplierPartTable.tsx b/src/frontend/src/tables/purchasing/SupplierPartTable.tsx index 0e16d5ef33..2ce071bf4e 100644 --- a/src/frontend/src/tables/purchasing/SupplierPartTable.tsx +++ b/src/frontend/src/tables/purchasing/SupplierPartTable.tsx @@ -13,7 +13,6 @@ import { ApiEndpoints } from '@lib/enums/ApiEndpoints'; import { ModelType } from '@lib/enums/ModelType'; import { UserRoles } from '@lib/enums/Roles'; import { apiUrl } from '@lib/functions/Api'; -import { formatDecimal } from '@lib/functions/Formatting'; import type { TableFilter } from '@lib/types/Filters'; import type { TableColumn } from '@lib/types/Tables'; import { IconPackageImport } from '@tabler/icons-react'; @@ -112,7 +111,6 @@ export function SupplierPartTable({ { accessor: 'pack_quantity', sortable: true, - render: (record: any) => { const part = record?.part_detail ?? {}; @@ -120,7 +118,7 @@ export function SupplierPartTable({ if (part.units) { extra.push( - + {t`Base units`} : {part.units} ); @@ -128,7 +126,7 @@ export function SupplierPartTable({ return (