mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-16 23:21:09 +00:00
Small tweak to UI logic (#9734)
This commit is contained in:
1 parent
11ab0203b1
commit
24a2279368
1 file changed
+2
-2
@@ -317,7 +317,7 @@ export function PurchaseOrderLineItemTable({
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
hidden: received || !orderOpen,
|
hidden: received || !orderPlaced,
|
||||||
title: t`Receive line item`,
|
title: t`Receive line item`,
|
||||||
icon: <IconSquareArrowRight />,
|
icon: <IconSquareArrowRight />,
|
||||||
color: 'green',
|
color: 'green',
|
||||||
@@ -349,7 +349,7 @@ export function PurchaseOrderLineItemTable({
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
[orderId, user, orderOpen]
|
[orderId, user, orderOpen, orderPlaced]
|
||||||
);
|
);
|
||||||
|
|
||||||
// Custom table actions
|
// Custom table actions
|
||||||
|
|||||||
Reference in new issue
Block a user