mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-06 12:01:41 +00:00
Fix status code rendering
This commit is contained in:
@@ -103,7 +103,7 @@ export default function BuildDetail() {
|
||||
},
|
||||
{
|
||||
type: 'status',
|
||||
name: 'status',
|
||||
name: 'status_custom_key',
|
||||
label: t`Status`,
|
||||
model: ModelType.build
|
||||
},
|
||||
|
@@ -141,7 +141,7 @@ export default function PurchaseOrderDetail() {
|
||||
},
|
||||
{
|
||||
type: 'status',
|
||||
name: 'status',
|
||||
name: 'status_custom_key',
|
||||
label: t`Status`,
|
||||
model: ModelType.purchaseorder
|
||||
}
|
||||
|
@@ -121,9 +121,8 @@ export default function SalesOrderDetail() {
|
||||
},
|
||||
{
|
||||
icon: 'status',
|
||||
value_formatter: () => order.status_custom_key || order.status,
|
||||
type: 'status',
|
||||
name: 'status',
|
||||
name: 'status_custom_key',
|
||||
label: t`Status`,
|
||||
model: ModelType.salesorder
|
||||
}
|
||||
|
Reference in New Issue
Block a user