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

Pass sales order through to sub-builds table (#7915)

This commit is contained in:
Oliver
2024-08-19 15:11:44 +10:00
committed by GitHub
parent 2e10400d7c
commit 9fbaeba2ab

View File

@ -312,7 +312,10 @@ export default function BuildDetail() {
label: t`Child Build Orders`,
icon: <IconSitemap />,
content: build.pk ? (
<BuildOrderTable parentBuildId={build.pk} />
<BuildOrderTable
parentBuildId={build.pk}
salesOrderId={build.sales_order}
/>
) : (
<Skeleton />
)