Skip to content

Commit

Permalink
Fix "sales_order" filter for buildId (#8024)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat authored Aug 28, 2024
1 parent c096f2f commit 99e8222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions src/frontend/src/pages/build/BuildDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,7 @@ export default function BuildDetail() {
label: t`Child Build Orders`,
icon: <IconSitemap />,
content: build.pk ? (
<BuildOrderTable
parentBuildId={build.pk}
salesOrderId={build.sales_order}
/>
<BuildOrderTable parentBuildId={build.pk} />
) : (
<Skeleton />
)
Expand Down
1 change: 1 addition & 0 deletions src/frontend/src/tables/build/BuildOrderTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ export function BuildOrderTable({
params: {
part: partId,
ancestor: parentBuildId,
sales_order: salesOrderId,
part_detail: true
},
tableActions: tableActions,
Expand Down

0 comments on commit 99e8222

Please sign in to comment.