mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-10 02:47:49 +00:00
[UI] Part description in build table (#13129)
* Add "part description" column to build table * Add part description on build detail page
This commit is contained in:
1 parent
c5253560e8
commit
1dc2419652
2 files changed
+15
-1
No files matched your search
@@ -61,6 +61,14 @@ export function BuildOrderDetailsPanel({
|
||||
hidden: !instance?.part_detail?.revision,
|
||||
copy: true
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
name: 'part_detail.description',
|
||||
icon: 'description',
|
||||
label: t`Part Description`,
|
||||
hidden: !instance?.part_detail?.description,
|
||||
copy: true
|
||||
},
|
||||
{
|
||||
type: 'status',
|
||||
name: 'status',
|
||||
|
||||
@@ -67,9 +67,15 @@ export function BuildOrderTable({
|
||||
sortable: true,
|
||||
defaultVisible: false
|
||||
},
|
||||
DescriptionColumn({
|
||||
accessor: 'part_detail.description',
|
||||
title: t`Part Description`,
|
||||
defaultVisible: false
|
||||
}),
|
||||
DescriptionColumn({
|
||||
accessor: 'title',
|
||||
sortable: false
|
||||
sortable: false,
|
||||
title: t`Build Description`
|
||||
}),
|
||||
{
|
||||
accessor: 'completed',
|
||||
|
||||
Reference in new issue
Block a user