2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Small tweak to UI logic (#9734)

This commit is contained in:
Oliver
2025-06-03 19:34:49 +10:00
committed by GitHub
parent 11ab0203b1
commit 24a2279368

View File

@ -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