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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 />
)