diff --git a/src/frontend/src/tables/build/BuildAllocatedStockTable.tsx b/src/frontend/src/tables/build/BuildAllocatedStockTable.tsx index c4df80880b..bbeff526d3 100644 --- a/src/frontend/src/tables/build/BuildAllocatedStockTable.tsx +++ b/src/frontend/src/tables/build/BuildAllocatedStockTable.tsx @@ -151,7 +151,9 @@ export default function BuildAllocatedStockTable({ accessor: 'sku', title: t`Supplier Part`, render: (record: any) => record?.supplier_part_detail?.SKU, - sortable: true + sortable: true, + copyable: true, + copyAccessor: 'supplier_part_detail.SKU' } ]; }, []); diff --git a/src/frontend/src/tables/part/PartCategoryTable.tsx b/src/frontend/src/tables/part/PartCategoryTable.tsx index 0f15524f09..3505b45da6 100644 --- a/src/frontend/src/tables/part/PartCategoryTable.tsx +++ b/src/frontend/src/tables/part/PartCategoryTable.tsx @@ -39,6 +39,7 @@ export function PartCategoryTable({ parentId }: Readonly<{ parentId?: any }>) { accessor: 'name', sortable: true, switchable: false, + copyable: true, render: (record: any) => ( @@ -60,6 +61,7 @@ export function PartCategoryTable({ parentId }: Readonly<{ parentId?: any }>) { DescriptionColumn({}), { accessor: 'pathstring', + copyable: true, sortable: true }, { diff --git a/src/frontend/src/tables/part/RelatedPartTable.tsx b/src/frontend/src/tables/part/RelatedPartTable.tsx index 0ccadbfa01..ab9f098e5f 100644 --- a/src/frontend/src/tables/part/RelatedPartTable.tsx +++ b/src/frontend/src/tables/part/RelatedPartTable.tsx @@ -72,6 +72,7 @@ export function RelatedPartTable({ accessor: 'ipn', title: t`IPN`, switchable: true, + copyable: true, render: (record: any) => { const part = getPart(record); return part.IPN; diff --git a/src/frontend/src/tables/stock/StockLocationTable.tsx b/src/frontend/src/tables/stock/StockLocationTable.tsx index bc2baefd87..a0915c65a3 100644 --- a/src/frontend/src/tables/stock/StockLocationTable.tsx +++ b/src/frontend/src/tables/stock/StockLocationTable.tsx @@ -68,6 +68,7 @@ export function StockLocationTable({ parentId }: Readonly<{ parentId?: any }>) { { accessor: 'name', switchable: false, + copyable: true, render: (record: any) => ( {record.icon && } @@ -78,6 +79,7 @@ export function StockLocationTable({ parentId }: Readonly<{ parentId?: any }>) { DescriptionColumn({}), { accessor: 'pathstring', + copyable: true, sortable: true }, {