2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00
- Fix badge rendering for SalesOrderShipment

(cherry picked from commit 130bc84b4452db4e479477faf8b04b80a6b8e15c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot] 2024-12-20 12:21:42 +11:00 committed by GitHub
parent 39211ff4b6
commit 2d773a7b3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -295,7 +295,7 @@ export default function SalesOrderShipmentDetail() {
visible={!!shipment.delivery_date} visible={!!shipment.delivery_date}
/> />
]; ];
}, [shipment, shipmentQuery]); }, [isPending, shipment.deliveryDate, shipmentQuery.isFetching]);
const shipmentActions = useMemo(() => { const shipmentActions = useMemo(() => {
const canEdit: boolean = user.hasChangePermission( const canEdit: boolean = user.hasChangePermission(