diff --git a/src/frontend/src/pages/build/BuildDetail.tsx b/src/frontend/src/pages/build/BuildDetail.tsx index 062fbf0789..3a2773c052 100644 --- a/src/frontend/src/pages/build/BuildDetail.tsx +++ b/src/frontend/src/pages/build/BuildDetail.tsx @@ -95,6 +95,14 @@ export default function BuildDetail() { label: t`Part`, model: ModelType.part }, + { + type: 'text', + name: 'part_detail.IPN', + icon: 'part', + label: t`IPN`, + hidden: !build.part_detail?.IPN, + copy: true + }, { type: 'status', name: 'status', @@ -104,13 +112,15 @@ export default function BuildDetail() { { type: 'text', name: 'reference', - label: t`Reference` + label: t`Reference`, + copy: true }, { type: 'text', name: 'title', label: t`Description`, - icon: 'description' + icon: 'description', + copy: true }, { type: 'link', diff --git a/src/frontend/src/tables/build/BuildOrderTable.tsx b/src/frontend/src/tables/build/BuildOrderTable.tsx index 18ff6f4f05..2041bd0915 100644 --- a/src/frontend/src/tables/build/BuildOrderTable.tsx +++ b/src/frontend/src/tables/build/BuildOrderTable.tsx @@ -43,6 +43,12 @@ function buildOrderTableColumns(): TableColumn[] { switchable: false, render: (record: any) => PartColumn(record.part_detail) }, + { + accessor: 'part_detail.IPN', + sortable: true, + switchable: true, + title: t`IPN` + }, { accessor: 'title', sortable: false